| 123456789101112131415161718192021222324252627 |
- #include "Particle.h"
- #include "phys/RigidBody.h"
- //==============================================================================
- // Constructor =
- //==============================================================================
- Particle::Particle(float timeOfDeath_, SceneNode* parent):
- ModelNode(false, parent),
- timeOfDeath(timeOfDeath_)
- {}
- //==============================================================================
- // Destructor =
- //==============================================================================
- Particle::~Particle()
- {}
- //==============================================================================
- // setNewRigidBody =
- //==============================================================================
- void Particle::setNewRigidBody(RigidBody* body_)
- {
- body.reset(body_);
- }
|