Browse Source

*** empty log message ***

Dave Schuyler 21 years ago
parent
commit
8ed662cd7b
1 changed files with 4 additions and 2 deletions
  1. 4 2
      panda/src/physics/test_physics.cxx

+ 4 - 2
panda/src/physics/test_physics.cxx

@@ -24,12 +24,12 @@
 class Baseball : public Physical {
 class Baseball : public Physical {
 public:
 public:
   int ttl_balls;
   int ttl_balls;
-  int color;
+  //int color;
 
 
   Baseball(int tb = 1) : ttl_balls(tb), Physical(tb, true) {}
   Baseball(int tb = 1) : ttl_balls(tb), Physical(tb, true) {}
 };
 };
 
 
-int main(int, char **) {
+int main(int argc, char **argv) {
   PhysicsManager physics_manager;
   PhysicsManager physics_manager;
   Baseball b(8);
   Baseball b(8);
 
 
@@ -87,5 +87,7 @@ int main(int, char **) {
     cout << "vel: " << (*co)->get_velocity() << "  ";
     cout << "vel: " << (*co)->get_velocity() << "  ";
     cout << "pos: " << (*co)->get_position() << endl;
     cout << "pos: " << (*co)->get_position() << endl;
   }
   }
+
+  return 0;
 }
 }