comparison mm7_4.cpp @ 606:975a231bb4ec

m
author Ritor1
date Thu, 07 Mar 2013 15:26:44 +0600
parents 628694cd5744
children cfca6297e4ae 5bf285f56fa8
comparison
equal deleted inserted replaced
605:a8dec6a3fc9e 606:975a231bb4ec
13851 } 13851 }
13852 if ( !pGame->pIndoorCameraD3D->ApplyViewTransform_TrueIfStillVisible(a1a, a2, a3, &x, &y, &z, 1) 13852 if ( !pGame->pIndoorCameraD3D->ApplyViewTransform_TrueIfStillVisible(a1a, a2, a3, &x, &y, &z, 1)
13853 || (v0 = (RenderBillboard *)abs(x), (signed int)v0 < abs(y)) ) 13853 || (v0 = (RenderBillboard *)abs(x), (signed int)v0 < abs(y)) )
13854 continue; 13854 continue;
13855 pGame->pIndoorCameraD3D->Project(x, y, z, &v43, &a6); 13855 pGame->pIndoorCameraD3D->Project(x, y, z, &v43, &a6);
13856
13857 v0 = &pBillboardRenderList[uNumBillboardsToDraw]; 13856 v0 = &pBillboardRenderList[uNumBillboardsToDraw];
13858 if (uNumBillboardsToDraw >= 500) 13857 if (uNumBillboardsToDraw >= 500)
13859 break; 13858 break;
13860 ++uNumBillboardsToDraw; 13859 ++uNumBillboardsToDraw;
13861 ++uNumSpritesDrawnThisFrame; 13860 ++uNumSpritesDrawnThisFrame;