mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 22:13:29 +02:00
Fixed float constant.
This commit is contained in:
parent
5844b594dc
commit
604ef5dc71
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ void ParticleEffectEntityItem::setParticleRadius(float particleRadius) {
|
|||
void ParticleEffectEntityItem::computeAndUpdateDimensions() {
|
||||
|
||||
const float t = _lifespan * 1.1f; // add 10% extra time, to account for incremental timer accumulation error.
|
||||
const float MAX_RANDOM_FACTOR = (0.5f * 0.25);
|
||||
const float MAX_RANDOM_FACTOR = (0.5f * 0.25f);
|
||||
const float maxOffset = (MAX_RANDOM_FACTOR * _emitStrength) + _particleRadius;
|
||||
|
||||
// bounds for x and z is easy to compute because there is no at^2 term.
|
||||
|
|
Loading…
Reference in a new issue