Changeset 3894 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer/model.cc
- Timestamp:
- Apr 19, 2005, 6:48:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/model.cc
r3801 r3894 323 323 With it you should be able to import .obj-files with more than one Models inside. 324 324 */ 325 bool Model::addGroup (c har* groupString)325 bool Model::addGroup (const char* groupString) 326 326 { 327 327 PRINTF(5)("Read Group: %s.\n", groupString); … … 366 366 367 367 */ 368 bool Model::addVertex( const float x, const float y, constfloat z)368 bool Model::addVertex(float x, float y, float z) 369 369 { 370 370 PRINTF(5)("reading in a vertex: %f %f %f\n", x, y, z); … … 441 441 \param type 0: vertex only, 1: vertex and normal, 2: vertex and Texture, 3 vertex, normal and texture 442 442 */ 443 bool Model::addFace( const float faceElemCount, int type, ...)443 bool Model::addFace(int faceElemCount, int type, ...) 444 444 { 445 445 if (this->currentGroup->faceCount > 0) … … 496 496 If a vertexNormal line is found this function will inject it into the vertexNormal-Array 497 497 */ 498 bool Model::addVertexNormal( const float x, const float y, constfloat z)498 bool Model::addVertexNormal(float x, float y, float z) 499 499 { 500 500 PRINTF(3)("found vertex-Normal %f, %f, %f\n", x, y, z); … … 527 527 If a TextureCoordinate line is found this function will inject it into the TextureCoordinate-Array 528 528 */ 529 bool Model::addVertexTexture( const float u, constfloat v)530 { 531 PRINTF( 3)("found vertex-Texture %f, %f\n", u, v);529 bool Model::addVertexTexture(float u, float v) 530 { 531 PRINTF(5)("found vertex-Texture %f, %f\n", u, v); 532 532 this->vTexture->addEntry(u); 533 533 this->vTexture->addEntry(v); … … 538 538 \param matString the Material that will be set. 539 539 */ 540 bool Model::addUseMtl (c har* matString)540 bool Model::addUseMtl (const char* matString) 541 541 { 542 542 /*
Note: See TracChangeset
for help on using the changeset viewer.