Invert stick y direction
This commit is contained in:
parent
f8d029b18c
commit
ba0d30f6d6
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ impl CameraControl {
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
self.rotation = Deg((self.rotation.0 + (stick.x * factors.x)) % 360.0);
|
self.rotation = Deg((self.rotation.0 + (stick.x * factors.x)) % 360.0);
|
||||||
self.arc = Deg(clamp(
|
self.arc = Deg(clamp(
|
||||||
self.arc.0 + (stick.y * factors.y),
|
self.arc.0 - (stick.y * factors.y),
|
||||||
CameraControl::MIN_PITCH,
|
CameraControl::MIN_PITCH,
|
||||||
CameraControl::MAX_PITCH,
|
CameraControl::MAX_PITCH,
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in a new issue