| 369 | } |
| 370 | |
| 371 | void ParticleSystem::setModelView(float *m) |
| 372 | { |
| 373 | for (int i = 0; i < 16; i++) { |
| 374 | m_modelView.m[i] = m[i]; |
| 375 | } |
| 376 | } |
| 377 | |
| 378 | // dump particles to stdout for debugging |
| 379 | void ParticleSystem::dumpParticles(uint start, uint count) |