Changeset 5676 in orxonox.OLD
- Timestamp:
 - Nov 21, 2005, 9:59:50 PM (20 years ago)
 - Location:
 - trunk/src
 - Files:
 - 
          
- 2 edited
 
- 
          lib/graphics/importer/model.cc (modified) (3 diffs)
 - 
          world_entities/world_entity.cc (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
trunk/src/lib/graphics/importer/model.cc
r5430 r5676 919 919 else if( tmpFace->vertexCount > 4) 920 920 { 921 PRINTF(1)(" NASTY NASTY: More than 4 vertices for a face, there will be errors in the triangles information!\n");921 PRINTF(1)("This model (%s) got over 4 vertices per face <=> conflicts in the CD engine!\n", this->getName()); 922 922 //exit(0); 923 923 } … … 929 929 PRINTF(3)("got %i triangles, %i vertices\n", this->triangleCount, this->vertexCount); 930 930 931 932 /* write MODELINFO structure */ 931 933 932 934 /* allocate memory for the new triangle structures */ … … 936 938 return false; 937 939 } 938 939 940 940 941 /* now iterate through all groups and build up the triangle list */  - 
        
trunk/src/world_entities/world_entity.cc
r5671 r5676 119 119 { 120 120 PRINTF(4)("creating obb tree\n"); 121 121 122 this->obbTree = new OBBTree(depth, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount()); 122 123 return true;  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






