Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3334 in orxonox.OLD for orxonox/branches/parenting


Ignore:
Timestamp:
Jan 5, 2005, 1:10:50 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/parenting: took out the test-curve, because it resulted in a seg-fault while chanching the Level, and because it was only for temporary testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/parenting/src/world.cc

    r3328 r3334  
    153153        case DEBUG_WORLD_0:
    154154          {
    155             testCurve = new UPointCurve();
    156             testCurve->addNode(Vector( 0, 0, 0));
    157             testCurve->addNode(Vector(10, 0, 5));
    158             testCurve->addNode(Vector(20, -5,-5));
    159             testCurve->addNode(Vector(30, 5, 10));
    160             testCurve->addNode(Vector(40, 0,-10));
    161             testCurve->addNode(Vector(50, 0,-10));
    162 
    163            
    164155            this->nullParent = NullParent::getInstance ();
    165156            this->nullParent->setName ("NullParent");
     
    443434    {
    444435      glEvalCoord1f ((GLfloat) i/30.0);
    445     }
    446   glEnd();
    447 
    448   glBegin(GL_LINES);
    449   for(float i=0.0; i<1; i+=.001)
    450     {
    451       printf("%f %f %f\n",testCurve->calcPos(i).x,testCurve->calcPos(i).y,testCurve->calcPos(i).z);
    452       glVertex3f(testCurve->calcPos(i).x, testCurve->calcPos(i).y, testCurve->calcPos(i).z);
    453       glVertex3f(testCurve->calcPos(i).x+testCurve->calcDir(i).x, testCurve->calcPos(i).y+testCurve->calcDir(i).y, testCurve->calcPos(i).z+testCurve->calcDir(i).z);
    454436    }
    455437  glEnd();
Note: See TracChangeset for help on using the changeset viewer.