| 111 | } |
| 112 | |
| 113 | float ParticleEmitter::getAtmosphericDensity() const |
| 114 | { |
| 115 | sim::Entity* planet = getNearestPlanet(); |
| 116 | sim::Vector3 position = mParams.positionable->getPosition(); |
| 117 | return planet ? float(sim::getAtmosphericDensity(*planet, position)) : 0.0f; |
| 118 | } |
| 119 | |
| 120 | void ParticleKiller::update(float dt, std::vector<Particle>& particles) |
| 121 | { |
nothing calls this directly
no test coverage detected