diff mm7_3.cpp @ 896:e2e692684af8

m
author Ritor1
date Thu, 04 Apr 2013 09:35:45 +0600
parents 279a315ff122
children d3228f46ef68
line wrap: on
line diff
--- a/mm7_3.cpp	Wed Apr 03 14:52:15 2013 +0600
+++ b/mm7_3.cpp	Thu Apr 04 09:35:45 2013 +0600
@@ -6023,12 +6023,12 @@
   array_50AC10[3].vWorldViewProjX = pViewport->uViewportBR_X;
   array_50AC10[3].vWorldViewProjY = pViewport->uViewportTL_Y;
 
-  v36 = (double)(pViewport->uViewportBR_X - pViewport->uViewportTL_X) * 0.5;
-  v33 = 65536 / (signed int)(v36 / tan(0.6457717418670654) + 0.5);
+  /*v36 = (double)(pViewport->uViewportBR_X - pViewport->uViewportTL_X) * 0.5;
+  v33 = 65536 / (signed int)(v36 / tan(0.6457717418670654) + 0.5);*/
 
   for (int i = 0; i < _this.uNumVertices; ++i)
   {
-    v29 = floorf(array_50AC10[i].vWorldViewProjY + 0.5f);
+/*    v29 = floorf(array_50AC10[i].vWorldViewProjY + 0.5f);
     v39 = (unsigned __int64)(_this.ptr_38->field_14 * v33 * (v30 - v29)) / 65536;
     v8 = v39 + _this.ptr_38->field_C;
 
@@ -6095,7 +6095,7 @@
     //array_50AC10[i].vWorldViewPosition.x = pOutdoorCamera->shading_dist_mist;
     //array_50AC10[i].vWorldPosition.x = v36 / (_this.pTexture->uTextureHeight * 65536.0);
     //array_50AC10[i].vWorldPosition.y = 1.0 / (pOutdoorCamera->shading_dist_mist >> 16);
-    //array_50AC10[i].vWorldPosition.z = v35 / (_this.pTexture->uTextureWidth * 65536.0);
+    //array_50AC10[i].vWorldPosition.z = v35 / (_this.pTexture->uTextureWidth * 65536.0);*/
     array_50AC10[i]._rhw = 1.0;// / (pOutdoorCamera->shading_dist_mist >> 16);
     //array_50AC10[i].u = (double)v35 / (65536.0 * _this.pTexture->uTextureWidth);
     //array_50AC10[i].v = (double)v36 / (65536.0 * _this.pTexture->uTextureHeight);