| 94 | } |
| 95 | |
| 96 | void EmitterSystem::addEmitter(const unsigned int width, const unsigned int height, |
| 97 | const Vector3r &pos, const Matrix3r & rotation, |
| 98 | const Real velocity, |
| 99 | const unsigned int type) |
| 100 | { |
| 101 | m_emitters.push_back(new Emitter(m_model, |
| 102 | width, height, |
| 103 | pos, rotation, |
| 104 | velocity, |
| 105 | type)); |
| 106 | } |
| 107 | |
| 108 | void EmitterSystem::enableReuseParticles(const Vector3r &boxMin /*= Vector3r(-1, -1, -1)*/, const Vector3r &boxMax /*= Vector3r(1, 1, 1)*/) |
| 109 | { |
no test coverage detected