Changeset 8577 in orxonox.OLD for branches/bsp_model/src
- Timestamp:
- Jun 18, 2006, 11:23:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.cc
r8576 r8577 120 120 frame = &mesh->meshFrames[data->animationState.currentFrame]; 121 121 } 122 this->tmpMesh = &frame;122 this->tmpMesh[i] = frame; 123 123 124 124 // draw vertex normals if needed … … 322 322 for( int t = 0; t < mesh->header->triangleNum; t++) { 323 323 // calc normal vector 324 PRINTF(0)("offset %i, %i\n", mesh->triangles[t].vertexOffset[1], mesh->triangles[t].vertexOffset[0]); 325 PRINTF(0)("vertex: %f\n", frame[ mesh->triangles[t].vertexOffset[1] ][0]); 326 324 327 tmpVec1.x = frame[mesh->triangles[t].vertexOffset[1]][0] - frame[mesh->triangles[t].vertexOffset[0]][0]; 325 328 tmpVec2.x = frame[mesh->triangles[t].vertexOffset[2]][0] - frame[mesh->triangles[t].vertexOffset[0]][0];
Note: See TracChangeset
for help on using the changeset viewer.