mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
fixed idealYaw issue
This commit is contained in:
parent
fcbf44cad9
commit
fc5d412e53
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ void Camera::update( float deltaTime )
|
|||
|
||||
_position += ( _idealPosition - _position ) * t;
|
||||
_yaw += ( _idealYaw - _yaw ) * t;
|
||||
|
||||
|
||||
//roll = 20.0;
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue