mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 17:12:25 -05:00
Fix skybox orientation in forward third person camera. (Thanks 123DMWM)
This commit is contained in:
parent
db86bee196
commit
9e90ef6ed5
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ namespace ClassicalSharp {
|
|||
}
|
||||
|
||||
public override Vector2 GetCameraOrientation() {
|
||||
return new Vector2( -player.HeadYawRadians, -player.PitchRadians );
|
||||
return new Vector2( player.HeadYawRadians + (float)Math.PI, -player.PitchRadians );
|
||||
}
|
||||
|
||||
float dist = 3;
|
||||
|
|
Loading…
Reference in a new issue