mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 03:03:35 +02:00
remove pitch from camera since it still breaks Orientation
This commit is contained in:
parent
8b9e252246
commit
44e6fcc5e9
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ void display(void)
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
myCamera.setTargetPosition ( myAvatar.getBodyPosition() );
|
myCamera.setTargetPosition ( myAvatar.getBodyPosition() );
|
||||||
myCamera.setYaw ( 180.0 - myAvatar.getBodyYaw() );
|
myCamera.setYaw ( 180.0 - myAvatar.getBodyYaw() );
|
||||||
myCamera.setPitch ( 10.0 ); // temporarily, this must be 0.0 or else bad juju
|
myCamera.setPitch ( 0.0 ); // temporarily, this must be 0.0 or else bad juju
|
||||||
myCamera.setRoll ( 0.0 );
|
myCamera.setRoll ( 0.0 );
|
||||||
myCamera.setUp ( 0.45);
|
myCamera.setUp ( 0.45);
|
||||||
myCamera.setDistance ( 1.0 );
|
myCamera.setDistance ( 1.0 );
|
||||||
|
|
Loading…
Reference in a new issue