History

added emitter particle

Jeffrey Ventrella committed 13 years ago

Commit d0dffb41 parent 202fb954 files · +93 −14Browse files

Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Application.cpp+1−0
@@ -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 );

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t