| 57 | } |
| 58 | |
| 59 | void gl_particle_system::add(const float3 & position, const float3 & velocity, const float size, const float lifeMs) |
| 60 | { |
| 61 | particle p; |
| 62 | p.position = position; |
| 63 | p.velocity = velocity; |
| 64 | p.size = size; |
| 65 | p.lifeMs = lifeMs; |
| 66 | particles.emplace_back(p); |
| 67 | } |
| 68 | |
| 69 | void gl_particle_system::add(const float3 & position, const float4 & color, const float size) |
| 70 | { |
no test coverage detected