Commits

Juha Komulainen committed e268364

Removed dead code.

Comments (0)

Files changed (1)

CycloNet.Physics.Demos/Ballistic/BallisticDemo.cs

             }
         }
     }
-
-#if false
-
-
-void BallisticDemo::display()
-{
-
-    // Render the description
-    glColor3f(0.0f, 0.0f, 0.0f);
-    renderText(10.0f, 34.0f, "Click: Fire\n1-4: Select Ammo");
-
-    // Render the name of the current shot type
-    switch(currentShotType)
-    {
-    case PISTOL: renderText(10.0f, 10.0f, "Current Ammo: Pistol"); break;
-    case ARTILLERY: renderText(10.0f, 10.0f, "Current Ammo: Artillery"); break;
-    case FIREBALL: renderText(10.0f, 10.0f, "Current Ammo: Fireball"); break;
-    case LASER: renderText(10.0f, 10.0f, "Current Ammo: Laser"); break;
-    }
-}
-
-void BallisticDemo::mouse(int button, int state, int x, int y)
-{
-    // Fire the current weapon.
-    if (state == GLUT_DOWN) fire();
-}
-
-void BallisticDemo::key(unsigned char key)
-{
-    switch(key)
-    {
-    case '1': currentShotType = PISTOL; break;
-    case '2': currentShotType = ARTILLERY; break;
-    case '3': currentShotType = FIREBALL; break;
-    case '4': currentShotType = LASER; break;
-    }
-}
-#endif
-}
-
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.