- Timestamp:
- 08/19/08 11:47:41 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ResourceManager.cpp
r2851 r2852 56 56 sceneGeom = new SceneEntity(trafo); 57 57 58 58 59 /////////////// 59 60 //-- load lod levels … … 62 63 str.read(reinterpret_cast<char *>(&numLODs), sizeof(int)); 63 64 64 //if (numLODs > 1) cout << "numlods: " << numLODs << endl;65 65 for (int i = 0; i < numLODs; ++ i) 66 66 { … … 68 68 str.read(reinterpret_cast<char *>(&distance), sizeof(float)); 69 69 70 // hack71 //if (i >= 3) distance = 30000;72 73 70 int numShapes; 74 71 str.read(reinterpret_cast<char *>(&numShapes), sizeof(int)); 75 76 //if (numLODs > 1) cout << "dist: " << distance << " shapes: " << numShapes << endl;77 72 78 73 LODLevel *lodLevel = new LODLevel(distance); … … 112 107 int texnameSize; 113 108 114 //str.read(reinterpret_cast<char *>(&id), sizeof(int));115 109 str.read(reinterpret_cast<char *>(&texnameSize), sizeof(int)); 116 110
Note: See TracChangeset
for help on using the changeset viewer.