mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
5f64dc015b
commit
8ed662cd7b
@ -24,12 +24,12 @@
|
||||
class Baseball : public Physical {
|
||||
public:
|
||||
int ttl_balls;
|
||||
int color;
|
||||
//int color;
|
||||
|
||||
Baseball(int tb = 1) : ttl_balls(tb), Physical(tb, true) {}
|
||||
};
|
||||
|
||||
int main(int, char **) {
|
||||
int main(int argc, char **argv) {
|
||||
PhysicsManager physics_manager;
|
||||
Baseball b(8);
|
||||
|
||||
@ -87,5 +87,7 @@ int main(int, char **) {
|
||||
cout << "vel: " << (*co)->get_velocity() << " ";
|
||||
cout << "pos: " << (*co)->get_position() << endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user