- Timestamp:
- 09/22/08 10:10:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShadowMapping.cpp
r2954 r2963 156 156 157 157 158 static void DrawPoly (Polyhedron *poly, const Vector3 &color)158 static void DrawPolyhedron(Polyhedron *poly, const Vector3 &color) 159 159 { 160 160 if (!poly) return; … … 179 179 180 180 181 void ShadowMap:: DrawPolys()182 { 183 DrawPoly (lightPoly, Vector3(1, 0, 1));184 DrawPoly (polyhedron, Vector3(0, 1, 0));181 void ShadowMap::VisualizeFrustra() 182 { 183 DrawPolyhedron(lightPoly, Vector3(1, 0, 1)); 184 DrawPolyhedron(polyhedron, Vector3(0, 1, 0)); 185 185 } 186 186
Note: See TracChangeset
for help on using the changeset viewer.