Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Aug 13, 2005, 12:08:33 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: debugDraw paints a real cube again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/p_node.cc

    r4993 r4995  
    675675  {
    676676    glBegin(GL_LINE_STRIP);
    677     glVertex3f( .5*size,  .5*size, -.5*size);
    678     glVertex3f( .5*size,  .5*size,  .5*size);
    679     glVertex3f(-.5*size,  .5*size,  .5*size);
    680     glVertex3f(-.5*size, -.5*size,  .5*size);
    681     glVertex3f( .5*size,  .5*size, -.5*size);
    682     glVertex3f( .5*size, -.5*size, -.5*size);
    683     glVertex3f(-.5*size, -.5*size, -.5*size);
    684     glVertex3f(-.5*size,  .5*size, -.5*size);
     677    glVertex3f(-.5*size, -.5*size,  -.5*size);
     678    glVertex3f(+.5*size, -.5*size,  -.5*size);
     679    glVertex3f(+.5*size, -.5*size,  +.5*size);
     680    glVertex3f(-.5*size, -.5*size,  +.5*size);
     681    glVertex3f(-.5*size, -.5*size,  -.5*size);
    685682    glEnd();
    686683    glBegin(GL_LINE_STRIP);
    687     glVertex3f(-.5*size, -.5*size, -.5*size);
    688     glVertex3f(-.5*size, -.5*size,  .5*size);
    689     glVertex3f( .5*size, -.5*size,  .5*size);
    690     glVertex3f( .5*size, -.5*size, -.5*size);
     684    glVertex3f(-.5*size, +.5*size,  -.5*size);
     685    glVertex3f(+.5*size, +.5*size,  -.5*size);
     686    glVertex3f(+.5*size, +.5*size,  +.5*size);
     687    glVertex3f(-.5*size, +.5*size,  +.5*size);
     688    glVertex3f(-.5*size, +.5*size,  -.5*size);
    691689    glEnd();
     690
    692691    glBegin(GL_LINES);
    693     glVertex3f( .5*size, -.5*size,  .5*size);
    694     glVertex3f( .5*size,  .5*size,  .5*size);
    695     glVertex3f(-.5*size, -.5*size,  .5*size);
    696     glVertex3f(-.5*size,  .5*size,  .5*size);
     692    glVertex3f(-.5*size, -.5*size,  -.5*size);
     693    glVertex3f(-.5*size, +.5*size,  -.5*size);
     694    glVertex3f(+.5*size, -.5*size,  -.5*size);
     695    glVertex3f(+.5*size, +.5*size,  -.5*size);
     696    glVertex3f(+.5*size, -.5*size,  +.5*size);
     697    glVertex3f(+.5*size, +.5*size,  +.5*size);
     698    glVertex3f(-.5*size, -.5*size,  +.5*size);
     699    glVertex3f(-.5*size, +.5*size,  +.5*size);
    697700    glEnd();
    698701  }
Note: See TracChangeset for help on using the changeset viewer.