Draw a rotating cube: Difference between revisions
Content added Content deleted
Line 1,859: | Line 1,859: | ||
# process input |
# process input |
||
while(e->Poll() <> 0) { |
while(e->Poll() <> 0) { |
||
# joystick |
|||
if(e->GetType() = EventType->SDL_QUIT) { |
if(e->GetType() = EventType->SDL_QUIT) { |
||
quit := true; |
quit := true; |