Browse Source

Remove some debug stuff.

legacy
Sam Hocevar sam 14 years ago
parent
commit
25273ab1fe
2 changed files with 4 additions and 3 deletions
  1. +3
    -2
      src/scene.cpp
  2. +1
    -1
      src/test-map.cpp

+ 3
- 2
src/scene.cpp View File

@@ -90,8 +90,9 @@ void Scene::Render() // XXX: rename to Blit()
static float f = 0.0f;
f += 0.05f;
glTranslatef(320.0f, 240.0f, 0.0f);
glRotatef(50.0f + 3.0f * sinf(f), 1.0f, 0.0f, 0.0f);
glRotatef(20.0f * cosf(f), 0.0f, 0.0f, 1.0f);
glRotatef(45.0f, 1.0f, 0.0f, 0.0f);
//glRotatef(5.0f + 3.0f * sinf(f), 1.0f, 0.0f, 0.0f);
//glRotatef(20.0f * cosf(f), 0.0f, 0.0f, 1.0f);
//glRotatef(30.0f, 0.0f, 0.0f, 1.0f);
glTranslatef(-320.0f, -240.0f, 0.0f);



+ 1
- 1
src/test-map.cpp View File

@@ -54,7 +54,7 @@ int main(int argc, char **argv)
new SdlInput(game);
new DebugFps();
new DebugSprite(game);
//new DebugRecord("movie.ogg");
//new DebugRecord("lolengine.ogg");

while (!game->Finished())
{


Loading…
Cancel
Save