diff Render.cpp @ 2368:91b6c0a338ad

ODMFace::IsBackfaceCulled to ODMFace::IsBackfaceNotCulled, cleaned up a bit
author Grumpy7
date Mon, 12 May 2014 00:13:39 +0200
parents 23192f5b41d4
children bddcaf5d5db2
line wrap: on
line diff
--- a/Render.cpp	Sun May 11 23:17:23 2014 +0200
+++ b/Render.cpp	Mon May 12 00:13:39 2014 +0200
@@ -8816,7 +8816,7 @@
               array_77EC08[pODMRenderParams->uNumPolygons].dimming_level = 31;
             if ( pODMRenderParams->uNumPolygons >= 1999 + 5000)
               return;
-            if ( ODMFace::IsBackfaceCulled(array_73D150, &array_77EC08[pODMRenderParams->uNumPolygons]) )
+            if ( ODMFace::IsBackfaceNotCulled(array_73D150, &array_77EC08[pODMRenderParams->uNumPolygons]) )
             {
               pOutdoor->pBModels[model_id].pFaces[face_id].bVisible = 1;
               array_77EC08[pODMRenderParams->uNumPolygons].uBModelFaceID = face_id;