Changeset 3566 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Mar 15, 2005, 11:22:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3565 r3566 69 69 cn->reset(); 70 70 71 //delete this->localCamera;72 71 delete this->nullParent; 73 72 delete this->entities; 74 //delete this->skySphere; 75 76 //delete this->trackManager; 73 74 delete this->trackManager; 75 77 76 78 77 /* … … 173 172 this->glmis->step(); 174 173 175 /*176 tmpCurve->addNode(Vector(10, -1, -1));177 tmpCurve->addNode(Vector(10, -2, 2));178 tmpCurve->addNode(Vector(10, 3, 3));179 tmpCurve->addNode(Vector(10, 4, -4), 0);180 tmpCurve->addNode(Vector(10, -1, -1));181 tmpCurve->addNode(Vector(10, -2, 2));182 tmpCurve->addNode(Vector(10, 3, 3));183 tmpCurve->addNode(Vector(10, 4, -4), 0);184 tmpCurve->debug();185 */186 174 switch(this->debugWorldNr) 187 175 { … … 306 294 glEndList(); 307 295 308 terrain = new Terrain(TERRAIN_DAVE); 296 terrain = new Terrain("nGround.obj"); 297 terrain->setRelCoor(&Vector(0,-10,0)); 309 298 this->spawn(terrain); 310 299 // LIGHT initialisation … … 334 323 cn->enable(true); 335 324 336 //glMap1f (GL_MAP1_VERTEX_3, 0.0, 1.0, 3, 4, &ctrlpoints[0][0]);337 //glEnable (GL_MAP1_VERTEX_3);338 339 //theNurb = gluNewNurbsRenderer ();340 //gluNurbsProperty (theNurb, GLU_NURBS_MODE, GLU_NURBS_TESSELLATOR);341 //gluNurbsProperty (theNurb, GLU_NURBS_VERTEX, vertexCallback );342 343 325 } 344 326 … … 387 369 ErrorMessage World::destroy() 388 370 { 389 delete trackManager; 371 390 372 } 391 373
Note: See TracChangeset
for help on using the changeset viewer.