diff options
Diffstat (limited to 'engines/bladerunner/view.cpp')
-rw-r--r-- | engines/bladerunner/view.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/view.cpp b/engines/bladerunner/view.cpp index ab9eb3e2e6..ed5cef9e3d 100644 --- a/engines/bladerunner/view.cpp +++ b/engines/bladerunner/view.cpp @@ -72,8 +72,8 @@ void View::calculateCameraPosition() { Matrix4x3 invertedMatrix = invertMatrix(_sliceViewMatrix); _cameraPosition.x = invertedMatrix(0, 3); - _cameraPosition.y = invertedMatrix(1, 3); - _cameraPosition.z = invertedMatrix(2, 3); + _cameraPosition.z = invertedMatrix(1, 3); // this is not a bug, it Z & Y are inverted in original source + _cameraPosition.y = invertedMatrix(2, 3); } Vector3 View::calculateScreenPosition(Vector3 worldPosition) { |