comparison Render.cpp @ 577:7e8f5124056c

m
author Ritor1
date Tue, 05 Mar 2013 10:45:29 +0600
parents cb0ad52d6a26
children 55d6b756e03a
comparison
equal deleted inserted replaced
576:1bd8758f50b8 577:7e8f5124056c
1742 pRenderer->pRenderD3D->pDevice->SetRenderState(D3DRENDERSTATE_CULLMODE, D3DCULL_CCW); 1742 pRenderer->pRenderD3D->pDevice->SetRenderState(D3DRENDERSTATE_CULLMODE, D3DCULL_CCW);
1743 1743
1744 1744
1745 v63 = 0; 1745 v63 = 0;
1746 // basic optimizations 1746 // basic optimizations
1747 unsigned int uStartX, uEndX, 1747 unsigned int uStartX, uEndX, uStartZ, uEndZ;
1748 uStartZ, uEndZ;
1749 if (pIndoorCamera->sRotationY >= 0 && pIndoorCamera->sRotationY <= 1024) 1748 if (pIndoorCamera->sRotationY >= 0 && pIndoorCamera->sRotationY <= 1024)
1750 { 1749 {
1751 uStartX = 0, uEndX = 128; 1750 uStartX = 0, uEndX = 128;
1752 uStartZ = 0, uEndZ = 64 + 16; 1751 uStartZ = 0, uEndZ = 64 + 16;
1753 } 1752 }