Kaynağa Gözat

cleanup

cleanup unused code qsort
marauder2k7 5 yıl önce
ebeveyn
işleme
7ecd000ea3

+ 0 - 7
engine/source/2d/sceneobject/ShadowMap.cc

@@ -180,13 +180,6 @@ void ShadowMap::sceneRender(const SceneRenderState * sceneRenderState, const Sce
       }
    }
 
-   //Con::printf("Rays cast: %i", bList.size());
-   //unique the list
-   /*if (bList.size() > 1)
-   {
-      dQsort(bList.address(), bList.size(), sizeof(RayList), uniqueRays);
-   }*/
-
    //Con::printf("Rays cast: %i", bList.size());
    //sort the list
    if (bList.size() > 1)

+ 0 - 1
engine/source/2d/sceneobject/ShadowMap.h

@@ -92,4 +92,3 @@ protected:
 #endif //_SHADOWMAP_H_
 
 S32 QSORT_CALLBACK sortRays(const void * a, const void * b);
-S32 QSORT_CALLBACK uniqueRays(const void * a, const void * b);