Constructor
| 28 | |
| 29 | /// Constructor |
| 30 | PhysicsObject::PhysicsObject(rp3d::PhysicsCommon& physicsCommon) |
| 31 | : openglframework::Mesh(), mPhysicsCommon(physicsCommon) { |
| 32 | |
| 33 | mBody = nullptr; |
| 34 | mColor = openglframework::Color(1, 1, 1, 1); |
| 35 | mSleepingColor = openglframework::Color(1, 0, 0, 1); |
| 36 | } |
| 37 | |
| 38 | /// Constructor |
| 39 | PhysicsObject::PhysicsObject(rp3d::PhysicsCommon& physicsCommon, const std::string& meshPath) : PhysicsObject(physicsCommon) { |