Changeset 4303 in orxonox.OLD for orxonox/branches
- Timestamp:
- May 26, 2005, 3:49:05 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/subprojects/particles/framework.cc
r4302 r4303 35 35 { 36 36 // keyhandler returns false if sdl gets quit by some event 37 if (! keyHandler())37 if (!this->keyHandler()) 38 38 return false; 39 39 40 40 // tick the scene 41 float dt = t ick();41 float dt = this->tick(); 42 42 43 43 // Draw the scene 44 draw(dt);44 this->draw(dt); 45 45 } 46 46 } … … 57 57 58 58 SDL_GL_SwapBuffers(); // Swap the buffers 59 60 59 } 61 60 … … 80 79 // And poll for events 81 80 SDL_Event event; 82 while ( SDL_PollEvent(&event) ) { 81 SDL_PollEvent(&event) ; 82 { 83 83 switch (event.type) { 84 84 case SDL_MOUSEMOTION:
Note: See TracChangeset
for help on using the changeset viewer.