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
-}
-