- Timestamp:
- 08/19/08 16:36:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ResourceManager.cpp
r2852 r2853 60 60 //-- load lod levels 61 61 62 // note: lods must be ordered from smallest distance to largest 62 63 int numLODs; 63 64 str.read(reinterpret_cast<char *>(&numLODs), sizeof(int)); … … 65 66 for (int i = 0; i < numLODs; ++ i) 66 67 { 67 float dist ance;68 str.read(reinterpret_cast<char *>(&dist ance), sizeof(float));68 float dist; 69 str.read(reinterpret_cast<char *>(&dist), sizeof(float)); 69 70 70 71 int numShapes; 71 72 str.read(reinterpret_cast<char *>(&numShapes), sizeof(int)); 72 73 73 LODLevel *lodLevel = new LODLevel(dist ance);74 LODLevel *lodLevel = new LODLevel(dist); 74 75 75 76 for (int j = 0; j < numShapes; ++ j)
Note: See TracChangeset
for help on using the changeset viewer.