Ignore:
Timestamp:
08/31/08 17:09:46 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2862 r2889  
    226226        } 
    227227         
     228#if 0 
     229        // construct normals 
     230        for (int i = 0; i < vertexCount; i += 3) 
     231        { 
     232                Triangle3 tri(vertices[i], vertices[i + 1], vertices[i + 2]); 
     233 
     234                normals[i] = tri.GetNormal(); 
     235                normals[i+1] = tri.GetNormal(); 
     236                normals[i+2] = tri.GetNormal(); 
     237        } 
     238#endif 
    228239 
    229240        return new Geometry(vertices, normals, texcoords, vertexCount, true); 
Note: See TracChangeset for help on using the changeset viewer.