diff options
author | Stijn Buys <ingar@osirion.org> | 2009-01-12 20:25:28 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-01-12 20:25:28 +0000 |
commit | 784e5c24d505aab001ae398cd53b039baed59f1f (patch) | |
tree | 5af692e35848cacff27c8ad529c4042b26b2d020 /src/model/classes.cc | |
parent | c55945a1e81f5e49ef706cb3d0d37f17dbb84709 (diff) |
radius key for fx_particles, overrules the script value
Diffstat (limited to 'src/model/classes.cc')
-rw-r--r-- | src/model/classes.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/model/classes.cc b/src/model/classes.cc index b601a42..07a36f3 100644 --- a/src/model/classes.cc +++ b/src/model/classes.cc @@ -54,6 +54,7 @@ Particles::Particles() : { particles_entity = false; particles_engine = false; + particles_radius = 0.0f; } Particles::Particles(math::Vector3f const & location) : @@ -64,6 +65,11 @@ Particles::Particles(math::Vector3f const & location) : Particles::~Particles() {} +void Particles::set_radius(const float radius) +{ + particles_radius = radius; +} + /* ---- class Dock ------------------------------------------------- */ Dock::Dock() |