Invert vertical orbit camera rotation direction
This commit is contained in:
@@ -623,7 +623,7 @@ export class ViewportHost {
|
||||
|
||||
private orbitCamera(deltaX: number, deltaY: number) {
|
||||
this.cameraSpherical.theta -= deltaX * ORBIT_ROTATION_SPEED;
|
||||
this.cameraSpherical.phi += deltaY * ORBIT_ROTATION_SPEED;
|
||||
this.cameraSpherical.phi -= deltaY * ORBIT_ROTATION_SPEED;
|
||||
this.applyCameraOrbitPose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user