summaryrefslogtreecommitdiffstats
path: root/src/Game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game.h')
-rw-r--r--src/Game.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Game.h b/src/Game.h
index d935b7c..f6b775b 100644
--- a/src/Game.h
+++ b/src/Game.h
@@ -46,6 +46,7 @@ class Game {
this->input = input;
}
+ void turn(float x, float y);
void run(int delta);
void render();
@@ -56,7 +57,8 @@ class Game {
std::vector<BSPTree::TriangleRecord> triangles;
vmml::vec3f playerPos;
- vmml::mat4f playerRot;
+ vmml::mat4f playerRotY;
+ float playerRotX;
unsigned input;