aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/star_control_sub6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/star_control/star_control_sub6.cpp')
-rw-r--r--engines/titanic/star_control/star_control_sub6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/star_control/star_control_sub6.cpp b/engines/titanic/star_control/star_control_sub6.cpp
index e45d6d2c57..a93f128f59 100644
--- a/engines/titanic/star_control/star_control_sub6.cpp
+++ b/engines/titanic/star_control/star_control_sub6.cpp
@@ -53,7 +53,7 @@ void CStarControlSub6::identity() {
}
void CStarControlSub6::setRotationMatrix(Axis axis, double amount) {
- const double ROTATION = 3.1415927 * 0.0055555557;
+ const double ROTATION = 2 * M_PI / 360.0;
double sinVal = sin(amount * ROTATION);
double cosVal = cos(amount * ROTATION);