Mercurial > mm7
comparison mm7_3.cpp @ 842:2825b5a9b562
m
author | Ritor1 |
---|---|
date | Fri, 29 Mar 2013 10:44:18 +0600 |
parents | 6dd2b94efce7 |
children | 292c6288204d e3609dd06c15 6759478c2f14 |
comparison
equal
deleted
inserted
replaced
841:1b88950ff369 | 842:2825b5a9b562 |
---|---|
6114 //array_50AC10[i].vWorldPosition.y = 1.0 / (pOutdoorCamera->shading_dist_mist >> 16); | 6114 //array_50AC10[i].vWorldPosition.y = 1.0 / (pOutdoorCamera->shading_dist_mist >> 16); |
6115 //array_50AC10[i].vWorldPosition.z = v35 / (_this.pTexture->uTextureWidth * 65536.0); | 6115 //array_50AC10[i].vWorldPosition.z = v35 / (_this.pTexture->uTextureWidth * 65536.0); |
6116 array_50AC10[i]._rhw = 1; | 6116 array_50AC10[i]._rhw = 1; |
6117 //array_50AC10[i].u = (double)v35 / (65536.0 * _this.pTexture->uTextureWidth); | 6117 //array_50AC10[i].u = (double)v35 / (65536.0 * _this.pTexture->uTextureWidth); |
6118 //array_50AC10[i].v = (double)v36 / (65536.0 * _this.pTexture->uTextureHeight); | 6118 //array_50AC10[i].v = (double)v36 / (65536.0 * _this.pTexture->uTextureHeight); |
6119 //float t = (GetTickCount() % 96000) / 96000.0f; | 6119 float t = (GetTickCount() % 96000) / 96000.0f; |
6120 //array_50AC10[i].u += t; | 6120 array_50AC10[i].u += t; |
6121 if ( i == _this.uNumVertices - 1 ) | 6121 if ( i == _this.uNumVertices - 1 ) |
6122 { | 6122 { |
6123 pRenderer->DrawFan(_this.uNumVertices, &_this, pBitmaps_LOD->pHardwareTextures[_this.uTileBitmapID]); | 6123 pRenderer->DrawFan(_this.uNumVertices, &_this, pBitmaps_LOD->pHardwareTextures[_this.uTileBitmapID]); |
6124 | 6124 |
6125 //array_50AC10[0].vWorldViewProjY = v38; | 6125 //array_50AC10[0].vWorldViewProjY = v38; |