Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2015-11-11 17:49:22 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2015-12-29 16:36:04 +0300
commitc4098b058ca713838de19b68e63273b18c23f3fd (patch)
tree437daa43539df9652bc5656094906e090b497933 /geometry
parent45f3a712dab482a95bfe2a7b88627c4ed86c3447 (diff)
Preferred zoom level in 3d.
Diffstat (limited to 'geometry')
-rw-r--r--geometry/screenbase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/geometry/screenbase.cpp b/geometry/screenbase.cpp
index 1ae9dfd428..e365641683 100644
--- a/geometry/screenbase.cpp
+++ b/geometry/screenbase.cpp
@@ -255,8 +255,8 @@ void ScreenBase::ExtractGtoPParams(MatrixT const & m,
}
// Place the camera at the distance, where it gives the same view of plane as the
-// orthogonal projection does. Calculate the expanded area of the visible map plane
-// after rotation through maxRotationAngle around its near horizontal side.
+// orthogonal projection does. Calculate what part of the map would be visible,
+// when it is rotated through maxRotationAngle around its near horizontal side.
void ScreenBase::ApplyPerspective(double currentRotationAngle, double maxRotationAngle, double angleFOV)
{
ASSERT_NOT_EQUAL(angleFOV, 0.0, ());