Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10643 in orxonox.OLD for trunk/src/lib/graphics/graphics_engine.cc


Ignore:
Timestamp:
Apr 29, 2007, 6:51:28 PM (18 years ago)
Author:
bknecht
Message:

improvements by landauf on bsp, rotor and wireframe (does build, should work)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/graphics_engine.cc

    r10618 r10643  
    480480void GraphicsEngine::wireframe()
    481481{
    482   glPolygonMode(GL_FRONT, GL_LINE);
     482  State::showWireframe(!State::showWireframe());
     483  /*
     484   if (State::showWireframe()){}
     485       glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
     486   else
     487       glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
     488  */
    483489}
    484490
Note: See TracChangeset for help on using the changeset viewer.