Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-10-20 14:35:44 +0000
committerStijn Buys <ingar@osirion.org>2013-10-20 14:35:44 +0000
commit6704be2d5550f091c18c4cc50ef6d28bf55a31a4 (patch)
tree26dbd2f01e01321f7f17d9b7626a64bfad38f05e
parent844712beaf13127ab7e54cff1a00d87ae260d522 (diff)
Improved particle ejector thrust control.
-rw-r--r--src/render/particlesystem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/particlesystem.cc b/src/render/particlesystem.cc
index c29243c..abc4f0c 100644
--- a/src/render/particlesystem.cc
+++ b/src/render/particlesystem.cc
@@ -183,7 +183,7 @@ void ParticleSystem::draw(const float seconds)
if (ejector->thrust()) {
if (controlable->thrust() > 0.0f) {
ejector_active = true;
- thrust_factor = controlable->thrust();
+ thrust_factor = 0.25f + controlable->thrust() * 0.75f;
}
}
break;