X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FCamera.hh;h=827c47f3384de021bcef0dfe0f5f1bf9cb90067d;hp=24632a53af82f88038b7d03df22a5039574a48ba;hb=a4debfe4a5f5d339410788971b698ba00cb7f09c;hpb=4701bf580b75a7d77a460c6f14f9fc31fb109bbb diff --git a/src/Moof/Camera.hh b/src/Moof/Camera.hh index 24632a5..827c47f 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_, SCALAR(0.0)); calculateSecondary(); } @@ -56,7 +56,7 @@ public: void setProjection(const Matrix4& projection); void setProjection(Scalar fovy, Scalar aspect, Scalar near, Scalar far); - void uploadProjectionToGL() const; + void uploadToGL() const; void lookAt(const Vector3& point); @@ -81,7 +81,7 @@ private: Matrix4 modelview_; Frustum frustum_; - Lerpv3 pInterp_; + Lerp3 pInterp_; };