summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/engine/camera.h')
-rw-r--r--src/graphics/engine/camera.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphics/engine/camera.h b/src/graphics/engine/camera.h
index 1a82f9f..7a7350f 100644
--- a/src/graphics/engine/camera.h
+++ b/src/graphics/engine/camera.h
@@ -136,8 +136,8 @@ class CCamera {
void Init(Math::Vector eye, Math::Vector lookat, float delay);
//! Sets the object controlling the camera
- void SetObject(CObject* object);
- CObject* GetObject();
+ void SetControllingObject(CObject* object);
+ CObject* GetControllingObject();
//! Change the type of camera
void SetType(Gfx::CameraType type);
@@ -208,7 +208,7 @@ protected:
//! Changes the camera according to the mouse moved
bool EventMouseMove(const Event &event);
//! Mouse wheel operation
- void EventMouseWheel(int dir);
+ void EventMouseWheel(WheelDirection dir);
//! Changes the camera according to the time elapsed
bool EventFrame(const Event &event);
//! Moves the point of view