diff --git a/interface/src/Camera.cpp b/interface/src/Camera.cpp index e44369fe66..bafda75515 100644 --- a/interface/src/Camera.cpp +++ b/interface/src/Camera.cpp @@ -46,12 +46,8 @@ void Camera::update( float deltaTime ) _position += ( _idealPosition - _position ) * t; _yaw += ( _idealYaw - _yaw ) * t; - - //roll = 20.0; - - //------------------------------------------------------------------------- + // generate the ortho-normals for the orientation based on the Euler angles - //------------------------------------------------------------------------- _orientation.setToIdentity(); _orientation.yaw ( _yaw ); _orientation.pitch ( _pitch ); diff --git a/interface/src/Camera.h b/interface/src/Camera.h index acda583213..354a5d8d16 100644 --- a/interface/src/Camera.h +++ b/interface/src/Camera.h @@ -29,19 +29,6 @@ public: void update( float deltaTime ); - /* - void setMode ( CameraMode m ) { mode = m; } - void setYaw ( float y ) { idealYaw = y; } - void setPitch ( float p ) { pitch = p; } - void setRoll ( float r ) { roll = r; } - void setUp ( float u ) { up = u; } - void setDistance ( float d ) { distance = d; } - void setTargetPosition ( glm::vec3 t ) { targetPosition = t; } - void setPosition ( glm::vec3 p ) { position = p; } - void setTightness ( float t ) { tightness = t; } - void setOrientation ( Orientation o ) { orientation.set(o); } -*/ - void setMode ( CameraMode m ) { _mode = m; } void setYaw ( float y ) { _idealYaw = y; } void setPitch ( float p ) { _pitch = p; }