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-22 21:10:29 +0000
committerStijn Buys <ingar@osirion.org>2013-01-22 21:10:29 +0000
commitbe1c0d9dd0fe27079f7edd89c55f5eeeff0ae00c (patch)
tree44468b31c892c08c7f30b4d7f6c7c220c5cb65fd /src/render/particleejector.h
parentb887a9f9de76df999a40f2ae8994984723ac46bf (diff)
Implemented Flare particles.
Diffstat (limited to 'src/render/particleejector.h')
-rw-r--r--src/render/particleejector.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/render/particleejector.h b/src/render/particleejector.h
index 4d3ace9..17e4688 100644
--- a/src/render/particleejector.h
+++ b/src/render/particleejector.h
@@ -76,6 +76,7 @@ private:
/**
* @brief Sprite particles
+ * Sprites are rendered facing the camera
* */
class ParticleEjectorSprite : public ParticleEjector {
public:
@@ -87,6 +88,19 @@ protected:
};
/**
+ * @brief Flare particles
+ * Flare are rendered along the particle axis
+ * */
+class ParticleEjectorFlare : public ParticleEjector {
+public:
+ ParticleEjectorFlare(const ParticleEjectorScript &script);
+ virtual ~ParticleEjectorFlare();
+
+protected:
+ virtual void draw(const math::Vector3f & ps_location, const math::Axis & ps_axis);
+};
+
+/**
* @brief Trail particles
* */
class ParticleEjectorTrail : public ParticleEjector {