aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-04-15 17:10:23 -0400
committerPaul Gilbert2017-04-15 17:10:23 -0400
commitd150d1e3bf822b6e7b41e8a658e87e2d54e711f5 (patch)
tree9e8df4238397d641550016a469e485189203cf7c
parentc2d54f010ee347c1ce742e46e6e004dd3f245f50 (diff)
downloadscummvm-rg350-d150d1e3bf822b6e7b41e8a658e87e2d54e711f5.tar.gz
scummvm-rg350-d150d1e3bf822b6e7b41e8a658e87e2d54e711f5.tar.bz2
scummvm-rg350-d150d1e3bf822b6e7b41e8a658e87e2d54e711f5.zip
TITANIC: Remove hard-coded starfield position
-rw-r--r--engines/titanic/star_control/base_stars.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/titanic/star_control/base_stars.cpp b/engines/titanic/star_control/base_stars.cpp
index 1af456d260..dbe239ec39 100644
--- a/engines/titanic/star_control/base_stars.cpp
+++ b/engines/titanic/star_control/base_stars.cpp
@@ -440,12 +440,6 @@ void CBaseStars::draw4(CSurfaceArea *surfaceArea, CStarCamera *camera, CStarClos
FPose pose = camera->getPose();
camera->proc36(&_value1, &_value2, &_value3, &_value4);
- //**DEBUG** Testing star closeup
- pose._row1 = FVector(-0.309339792, 0.777301192, -0.547824562);
- pose._row2 = FVector(0.796925128, -0.102426603, -0.595331132);
- pose._row3 = FVector(-0.518863380, -0.620734751, -0.587766230);
- pose._vector = FVector(28068592.0, 5345916.50, -116580624.0);
-
const double MAX_VAL = 1.0e9 * 1.0e9;
FPoint centroid = surfaceArea->_centroid + FPoint(0.5, 0.5);
double threshold = camera->getThreshold();