summaryrefslogtreecommitdiff
path: root/scene.h
blob: 2429fcced929223b937aacd6c629bcc7372dd463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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);
		void update();
};

#endif