Changeset 8574 in orxonox.OLD for branches/bsp_model
- Timestamp:
- Jun 18, 2006, 10:53:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.cc
r8568 r8574 308 308 void MD3Model::drawMesh(MD3Mesh* mesh, sVec3D* frame) const 309 309 { 310 PRINTF(0)("\n\nMD3Model::drawMesh()\n"); 310 311 glColor3f(1.0f, 1.0f, 1.0f); 311 312 glBegin( GL_TRIANGLES ); … … 331 332 glNormal3f(normal.x, normal.y, normal.z); 332 333 //no normalization necessary, GL_NORMALIZE is enabled! 334 335 PRINTF(0)("drawing vertex: %f, %f, %f, normal: %f, %f\n", 336 frame[mesh->triangles[t].vertexOffset[0]][0], 337 frame[mesh->triangles[t].vertexOffset[0]][1], 338 frame[mesh->triangles[t].vertexOffset[0]][2], 339 normal.x, normal.y, normal.z); 340 PRINTF(0)("drawing vertex: %f, %f, %f, normal: %f, %f\n", 341 frame[mesh->triangles[t].vertexOffset[1]][0], 342 frame[mesh->triangles[t].vertexOffset[1]][1], 343 frame[mesh->triangles[t].vertexOffset[1]][2], 344 normal.x, normal.y, normal.z); 345 PRINTF(0)("drawing vertex: %f, %f, %f, normal: %f, %f\n", 346 frame[mesh->triangles[t].vertexOffset[2]][0], 347 frame[mesh->triangles[t].vertexOffset[2]][1], 348 frame[mesh->triangles[t].vertexOffset[2]][2], 349 normal.x, normal.y, normal.z); 350 333 351 334 352 glTexCoord2fv( mesh->texVecs[mesh->triangles[t].vertexOffset[0]].textureCoord);
Note: See TracChangeset
for help on using the changeset viewer.