Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4303 in orxonox.OLD for orxonox/branches


Ignore:
Timestamp:
May 26, 2005, 3:49:05 PM (20 years ago)
Author:
bensch
Message:

orxonox/braches/physics: try on mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/physics/src/subprojects/particles/framework.cc

    r4302 r4303  
    3535    {
    3636      // keyhandler returns false if sdl gets quit by some event
    37       if (!keyHandler())
     37      if (!this->keyHandler())
    3838        return false;
    3939
    4040      // tick the scene
    41       float dt = tick();
     41      float dt = this->tick();
    4242
    4343      // Draw the scene
    44       draw(dt);
     44      this->draw(dt);
    4545    }
    4646}
     
    5757 
    5858  SDL_GL_SwapBuffers(); // Swap the buffers
    59 
    6059}
    6160
     
    8079    // And poll for events
    8180    SDL_Event event;
    82     while ( SDL_PollEvent(&event) ) {
     81    SDL_PollEvent(&event) ;
     82    {
    8383      switch (event.type) {
    8484      case SDL_MOUSEMOTION:
Note: See TracChangeset for help on using the changeset viewer.