Mercurial > mm7
comparison IndoorCameraD3D.cpp @ 692:066e2b29b30f
viewport.cpp added
author | Gloval |
---|---|
date | Sat, 16 Mar 2013 21:57:32 +0400 |
parents | ecfb1b3c9a39 |
children | e0a1fccc89b1 |
comparison
equal
deleted
inserted
replaced
691:c93f29773f84 | 692:066e2b29b30f |
---|---|
1062 fov_y = 0.8814736 * (double)pViewport->uScreenHeight; | 1062 fov_y = 0.8814736 * (double)pViewport->uScreenHeight; |
1063 fov = fov_y; | 1063 fov = fov_y; |
1064 if ( fov_x > fov ) | 1064 if ( fov_x > fov ) |
1065 fov = fov_x; | 1065 fov = fov_x; |
1066 screenCenterX = (double)pViewport->uScreenCenterX; | 1066 screenCenterX = (double)pViewport->uScreenCenterX; |
1067 screenCenterY = (double)(pViewport->uScreenCenterY - pViewport->uScreenY); | 1067 screenCenterY = (double)(pViewport->uScreenCenterY - pViewport->uScreen_TL_Y); |
1068 } | 1068 } |
1069 | 1069 |
1070 | 1070 |
1071 //----- (00437691) -------------------------------------------------------- | 1071 //----- (00437691) -------------------------------------------------------- |
1072 void IndoorCameraD3D::Vec3Transform(const IndoorCameraD3D_Vec3 *pVector, IndoorCameraD3D_Vec3 *pOut) | 1072 void IndoorCameraD3D::Vec3Transform(const IndoorCameraD3D_Vec3 *pVector, IndoorCameraD3D_Vec3 *pOut) |