X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FCamera.hh;h=72df5db6703fcc3d90e3c25fb615ccc3c250f7d5;hp=63d00749555a13c2052027dc8b0bb069e4856ecc;hb=8ad81a8282ce6e9e488a453e6bcd05fbc09715dc;hpb=72d4af22710317acffab861421c4364b1780b6fe diff --git a/src/Moof/Camera.hh b/src/Moof/Camera.hh index 63d0074..72df5db 100644 --- a/src/Moof/Camera.hh +++ b/src/Moof/Camera.hh @@ -46,7 +46,7 @@ public: Camera() : position_(0.0, 0.0, 0.0) { - quaternion_rotation_world_y(rotation_, 0.0); + cml::quaternion_rotation_world_y(rotation_, 0.0); calculateSecondary(); } @@ -70,7 +70,7 @@ public: return frustum_; } - void adjustFromInput(const Event& event); + void handleEvent(const Event& event); void update(Scalar t, Scalar dt); private: