| 73 | } |
| 74 | |
| 75 | void ResParticle::FreeInstance(ResParticle::ParticlePool* p)LNOEXCEPT |
| 76 | { |
| 77 | p->~ParticlePool(); |
| 78 | s_MemoryPool.Free(p); |
| 79 | } |
| 80 | |
| 81 | ResParticle::ParticlePool::ParticlePool(fcyRefPointer<ResParticle> ref) |
| 82 | : m_pInstance(ref), m_fEmission((float)ref->GetParticleInfo().nEmission) {} |