refactor: align scene view camera controls with unity
This commit is contained in:
@@ -92,6 +92,11 @@ public:
|
||||
controllerInput.viewportHeight = input.viewportSize.y;
|
||||
controllerInput.zoomDelta = input.hovered ? input.mouseWheel : 0.0f;
|
||||
|
||||
if (input.looking) {
|
||||
controllerInput.lookDeltaX = input.mouseDelta.x;
|
||||
controllerInput.lookDeltaY = input.mouseDelta.y;
|
||||
}
|
||||
|
||||
if (input.orbiting) {
|
||||
controllerInput.orbitDeltaX = input.mouseDelta.x;
|
||||
controllerInput.orbitDeltaY = input.mouseDelta.y;
|
||||
|
||||
Reference in New Issue
Block a user