changeset 1801:3a41be960164

m
author Ritor1
date Sun, 06 Oct 2013 22:48:14 +0600
parents c3140e8ad3ef
children 9f93b5700e2d 4002c0fe5efc d7791af42deb
files mm7_3.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_3.cpp	Sun Oct 06 22:45:11 2013 +0600
+++ b/mm7_3.cpp	Sun Oct 06 22:48:14 2013 +0600
@@ -5062,12 +5062,12 @@
     //array_50AC10[vertex_id].vWorldPosition.x = v36 / (pSkyPolygon.pTexture->uTextureHeight * 65536.0);
     //array_50AC10[vertex_id].vWorldPosition.y = 1.0 / (pODMRenderParams->shading_dist_mist >> 16);
     //array_50AC10[vertex_id].vWorldPosition.z = v35 / (pSkyPolygon.pTexture->uTextureWidth * 65536.0);
-    array_50AC10[vertex_id]._rhw = 1.0f / (pShading >> 16);//1.0 / (array_50AC10[vertex_id].vWorldViewPosition.x + 0.0000001);
-    array_50AC10[vertex_id].u = (double)v35 / (65536.0 * pSkyPolygon.pTexture->uTextureWidth);//t - pParty->sRotationY / 1024.0f
-    array_50AC10[vertex_id].v = (double)screen_center_x / (65536.0 * pSkyPolygon.pTexture->uTextureHeight);
+    //array_50AC10[vertex_id]._rhw = 1.0f / (pShading >> 16);//1.0 / (array_50AC10[vertex_id].vWorldViewPosition.x + 0.0000001);
+    //array_50AC10[vertex_id].u = (double)v35 / (65536.0 * pSkyPolygon.pTexture->uTextureWidth);//t - pParty->sRotationY / 1024.0f
+    //array_50AC10[vertex_id].v = (double)screen_center_x / (65536.0 * pSkyPolygon.pTexture->uTextureHeight);
   //-----------------------------------------------------------------------------------------
 
-    //array_50AC10[vertex_id]._rhw = 1.0f;
+    array_50AC10[vertex_id]._rhw = 1.0f;
   }
   //if ( i  == _this.uNumVertices - 1 )
   //{