Added call to update of MouseController in update function.

Added distance and orbit functions.
modified setRotation function to actually set rotation of camera (was empty)
This commit is contained in:
Joakim Kilby
2015-02-06 11:22:34 +01:00
parent f7171e1936
commit fe0cd2c130
2 changed files with 56 additions and 0 deletions

View File

@@ -118,6 +118,10 @@ public:
void orbitDelta(const glm::quat& rotation);
void orbit(const float &dx, const float &dy, const float &dz);
void distance(const float &d);
void rotateDelta(const glm::quat& rotation);
void distanceDelta(const PowerScaledScalar& distance, size_t iterations = 0);