aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/fpose.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/star_control/fpose.cpp')
-rw-r--r--engines/titanic/star_control/fpose.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/star_control/fpose.cpp b/engines/titanic/star_control/fpose.cpp
index a3697ae6d5..e7aafcfe2d 100644
--- a/engines/titanic/star_control/fpose.cpp
+++ b/engines/titanic/star_control/fpose.cpp
@@ -160,14 +160,14 @@ FPose FPose::inverseTransform() const {
result._row3._z = _row3._z;
result._vector._x = -(_vector._x * result._row1._x
- + _vector._y * result._row2._x
- + _vector._z * result._row3._x);
+ + _vector._y * result._row2._x
+ + _vector._z * result._row3._x);
result._vector._y = -(_vector._x * result._row1._y
- + _vector._y * result._row2._y
- + _vector._z * result._row3._y);
+ + _vector._y * result._row2._y
+ + _vector._z * result._row3._y);
result._vector._z = -(_vector._x * result._row1._z
- + _vector._y * result._row2._z
- + _vector._z * result._row3._z);
+ + _vector._y * result._row2._z
+ + _vector._z * result._row3._z);
return result;
}