root / branches / cpp-ode / src / libmmpong / ode_box.cc @ 541
| Revision 541, 260 bytes (checked in by gaul@…, 6 months ago) |
|---|
| Line | |
|---|---|
| 1 | #include "ode_box.h" |
| 2 | |
| 3 | using namespace mmp; |
| 4 | |
| 5 | ODEBox::ODEBox(NetGame::pointer game, uint16_t entid, bool _movable) : |
| 6 | ODEObj<NetEnt::ODEBox, dBox>(game, entid) |
| 7 | { |
| 8 | geom.create(get_space(), 1.0, 1.0, 1.0); |
| 9 | classname="ODEBox"; |
| 10 | if (_movable) |
| 11 | set_movable(); |
| 12 | } |
Note: See TracBrowser
for help on using the browser.
