mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
*** empty log message ***
This commit is contained in:
parent
5f64dc015b
commit
8ed662cd7b
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user