blob: 9e34e565cb35b1ac8c08a8e79fa1e420d4ec5087 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef SCENE_H
#define SCENE_H
#include "vector.h"
#include "quadtree.h"
class Scene {
public:
float pitch, yaw;
Vector3 pos;
float yvel;
Quadtree *qt;
Scene();
~Scene();
void lookat();
void move(float forward, float right, int steps);
bool select(int x, int y, float& px, float& py, float& pz);
};
#endif
|