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-01-21 18:37:59 +0000
committerStijn Buys <ingar@osirion.org>2013-01-21 18:37:59 +0000
commit266d0d2cf6648509650bdd490c8e9c64be75b92e (patch)
treedf5fdb640ed09edcf044efdc8784b18a5881a513 /src/render/particleejector.h
parentd4f9da2f3c19511b028da2569d7b6a8d1371e135 (diff)
Added attached property to draw particle systems in entity space instead of world space,
corrected several bugs in the initial particle system implementation, added impulse key to have particle systems react on impulse drive.
Diffstat (limited to 'src/render/particleejector.h')
-rw-r--r--src/render/particleejector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/particleejector.h b/src/render/particleejector.h
index f626f26..9e090d9 100644
--- a/src/render/particleejector.h
+++ b/src/render/particleejector.h
@@ -66,7 +66,7 @@ protected:
return ejector_particles;
}
- virtual void draw(const math::Vector3f & ps_location);
+ virtual void draw(const math::Vector3f & ps_location, const math::Axis & ps_axis);
private:
unsigned long ejector_last_eject;
@@ -83,7 +83,7 @@ public:
virtual ~ParticleEjectorSpray();
protected:
- virtual void draw(const math::Vector3f & ps_location);
+ virtual void draw(const math::Vector3f & ps_location, const math::Axis & ps_axis);
};
/**
@@ -95,7 +95,7 @@ public:
virtual ~ParticleEjectorTrail();
protected:
- virtual void draw(const math::Vector3f & ps_location);
+ virtual void draw(const math::Vector3f & ps_location, const math::Axis & ps_axis);
};
} // namespace render