Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all
Unified · Split
| @@ -3546,6 +3546,7 @@ void Application::updateParticleSystem(float deltaTime) { · 3545 unmodified lines | |||
| 3546 | 3546 | ||
| 3547 | ParticleSystem::ParticleAttributes attributes; | 3547 | ParticleSystem::ParticleAttributes attributes; |
| 3548 | 3548 | ||
| 3549 | attributes.radius = 0.01f; | ||
| 3549 | attributes.gravity = 0.0f + 0.05f * sinf( t * 0.52f ); | 3550 | attributes.gravity = 0.0f + 0.05f * sinf( t * 0.52f ); |
| 3550 | attributes.airFriction = 2.5 + 2.0f * sinf( t * 0.32f ); | 3551 | attributes.airFriction = 2.5 + 2.0f * sinf( t * 0.32f ); |
| 3551 | attributes.jitter = 0.05f + 0.05f * sinf( t * 0.42f ); | 3552 | attributes.jitter = 0.05f + 0.05f * sinf( t * 0.42f ); |