Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4717 in orxonox.OLD for orxonox/trunk/src/lib


Ignore:
Timestamp:
Jun 27, 2005, 1:49:58 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: some other md2 files to load

Location:
orxonox/trunk/src/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc

    r4712 r4717  
    9191void OBBTreeNode::spawnBVTree(const int depth, sVec3D *verticesList, const int length)
    9292{
    93   PRINT(0)("\n");
     93  PRINT(3)("\n");
    9494  this->treeIndex = this->obbTree->getID();
    95   PRINTF(0)("OBB Depth: %i, tree index: %i, numVertices: %i\n", depth, treeIndex, length);
     95  PRINTF(3)("OBB Depth: %i, tree index: %i, numVertices: %i\n", depth, treeIndex, length);
    9696  this->depth = depth;
    9797
     
    122122    else
    123123    {
    124       PRINTF(0)("Aboarding tree walk: less than 3 vertices left\n");
     124      PRINTF(3)("Aboarding tree walk: less than 3 vertices left\n");
    125125    }
    126126
     
    133133    else
    134134    {
    135       PRINTF(0)("Abording tree walk: less than 3 vertices left\n");
     135      PRINTF(3)("Abording tree walk: less than 3 vertices left\n");
    136136    }
    137137
  • orxonox/trunk/src/lib/graphics/importer/md2Model.cc

    r4697 r4717  
    203203        }
    204204
     205
    205206      for(; i > 0; i--, pCommands += 3) /* down counting for loop, next 3 gl commands */
    206207        {
     208          glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] );
    207209          glNormal3fv(anorms[this->data->pLightNormals[pCommands[2]]]);
    208           glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] );
    209210          glVertex3fv(verticesList[pCommands[2]]);
    210211        }
    211212      glEnd();
     213
    212214    }
    213215  glDisable(GL_CULL_FACE);
Note: See TracChangeset for help on using the changeset viewer.