X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FCamera.hh;h=827c47f3384de021bcef0dfe0f5f1bf9cb90067d;hp=b5927f438e0d3e27f376f8e5a559da6e5d9190f5;hb=a4debfe4a5f5d339410788971b698ba00cb7f09c;hpb=892da43bf5796e7c5f593a6d0f53bd797a36bd3e diff --git a/src/Moof/Camera.hh b/src/Moof/Camera.hh index b5927f4..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) { - cml::quaternion_rotation_world_y(rotation_, 0.0f); + 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);