aboutsummaryrefslogtreecommitdiffhomepage
path: root/demos/opengl/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/opengl/camera.cpp')
-rw-r--r--demos/opengl/camera.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/demos/opengl/camera.cpp b/demos/opengl/camera.cpp
index f704771b6..85fdc0c82 100644
--- a/demos/opengl/camera.cpp
+++ b/demos/opengl/camera.cpp
@@ -205,18 +205,6 @@ void Camera::localTranslate(const Vector3f& t)
mViewIsUptodate = false;
}
-void Camera::localRotate(float dTheta, float dPhi)
-{
- float dist = (position() - mTarget).norm();
-
- setOrientation( AngleAxisf(dTheta, up())
- * AngleAxisf(dPhi, right())
- * orientation());
- mTarget = position() + dist * direction();
-
- mViewIsUptodate = false;
-}
-
void Camera::updateViewMatrix(void) const
{
if(!mViewIsUptodate)