Ignore:
Timestamp:
09/22/08 10:10:01 (16 years ago)
Author:
mattausch
Message:

debug version trying to find out how to speed up app

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShadowMapping.cpp

    r2954 r2963  
    156156 
    157157 
    158 static void DrawPoly(Polyhedron *poly, const Vector3 &color) 
     158static void DrawPolyhedron(Polyhedron *poly, const Vector3 &color) 
    159159{ 
    160160        if (!poly) return; 
     
    179179 
    180180 
    181 void ShadowMap::DrawPolys() 
    182 { 
    183         DrawPoly(lightPoly, Vector3(1, 0, 1)); 
    184         DrawPoly(polyhedron, Vector3(0, 1, 0)); 
     181void ShadowMap::VisualizeFrustra() 
     182{ 
     183        DrawPolyhedron(lightPoly, Vector3(1, 0, 1)); 
     184        DrawPolyhedron(polyhedron, Vector3(0, 1, 0)); 
    185185} 
    186186 
Note: See TracChangeset for help on using the changeset viewer.