Ignore:
Timestamp:
08/19/08 16:36:13 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2852 r2853  
    6060        //-- load lod levels 
    6161 
     62        // note: lods must be ordered from smallest distance to largest 
    6263        int numLODs; 
    6364        str.read(reinterpret_cast<char *>(&numLODs), sizeof(int)); 
     
    6566        for (int i = 0; i < numLODs; ++ i) 
    6667        { 
    67                 float distance; 
    68                 str.read(reinterpret_cast<char *>(&distance), sizeof(float)); 
     68                float dist; 
     69                str.read(reinterpret_cast<char *>(&dist), sizeof(float)); 
    6970 
    7071                int numShapes; 
    7172                str.read(reinterpret_cast<char *>(&numShapes), sizeof(int)); 
    7273 
    73                 LODLevel *lodLevel = new LODLevel(distance); 
     74                LODLevel *lodLevel = new LODLevel(dist); 
    7475 
    7576                for (int j = 0; j < numShapes; ++ j) 
Note: See TracChangeset for help on using the changeset viewer.