fixed idealYaw issue

This commit is contained in:
Jeffrey Ventrella 2013-04-16 15:51:22 -07:00
parent fcbf44cad9
commit fc5d412e53
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ void Camera::update( float deltaTime )
_position += ( _idealPosition - _position ) * t;
_yaw += ( _idealYaw - _yaw ) * t;
//roll = 20.0;
//-------------------------------------------------------------------------

View file

@ -43,7 +43,7 @@ public:
*/
void setMode ( CameraMode m ) { _mode = m; }
void setYaw ( float y ) { _yaw = y; }
void setYaw ( float y ) { _idealYaw = y; }
void setPitch ( float p ) { _pitch = p; }
void setRoll ( float r ) { _roll = r; }
void setUp ( float u ) { _up = u; }