| 10 | namespace nCine |
| 11 | { |
| 12 | ParticleSystem::ParticleSystem(SceneNode* parent, std::uint32_t count, Texture* texture) |
| 13 | : ParticleSystem(parent, count, texture, Recti(0, 0, texture->GetWidth(), texture->GetHeight())) |
| 14 | { |
| 15 | } |
| 16 | |
| 17 | ParticleSystem::ParticleSystem(SceneNode* parent, std::uint32_t count, Texture* texture, Recti texRect) |
| 18 | : SceneNode(parent, 0, 0), poolSize_(count), poolTop_(count - 1), particlePool_(poolSize_), |