summaryrefslogtreecommitdiff
path: root/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'camera.h')
-rw-r--r--camera.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/camera.h b/camera.h
index d1c39c0..7bb42f9 100644
--- a/camera.h
+++ b/camera.h
@@ -31,27 +31,27 @@
#include "matrix.h"
class Camera
- {
- public:
- Camera();
- virtual ~Camera();
-
- // Initially the camera always looks along the Z axis
- //
- void setPos(GLfloat x, GLfloat y, GLfloat z);
-
- void addSpeed(GLfloat speed);
- void roll(double angle);
- void pitch(double angle);
-
- void setView() const;
-
- private:
- GLfloat px,py,pz;
- Matrix direction;
- Matrix left;
- Matrix up;
- };
+{
+public:
+ Camera();
+ virtual ~Camera();
+
+ // Initially the camera always looks along the Z axis
+ //
+ void setPos(GLfloat x, GLfloat y, GLfloat z);
+
+ void addSpeed(GLfloat speed);
+ void roll(double angle);
+ void pitch(double angle);
+
+ void setView() const;
+
+private:
+ GLfloat px,py,pz;
+ Matrix direction;
+ Matrix left;
+ Matrix up;
+};
#endif