diff IndoorCameraD3D.cpp @ 692:066e2b29b30f

viewport.cpp added
author Gloval
date Sat, 16 Mar 2013 21:57:32 +0400
parents ecfb1b3c9a39
children e0a1fccc89b1
line wrap: on
line diff
--- a/IndoorCameraD3D.cpp	Sat Mar 16 14:33:23 2013 +0200
+++ b/IndoorCameraD3D.cpp	Sat Mar 16 21:57:32 2013 +0400
@@ -1064,7 +1064,7 @@
   if ( fov_x > fov )
     fov = fov_x;
   screenCenterX = (double)pViewport->uScreenCenterX;
-  screenCenterY = (double)(pViewport->uScreenCenterY - pViewport->uScreenY);
+  screenCenterY = (double)(pViewport->uScreenCenterY - pViewport->uScreen_TL_Y);
 }