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>2008-05-25 16:44:37 +0000
committerStijn Buys <ingar@osirion.org>2008-05-25 16:44:37 +0000
commitf7283b2b9a9bf305ac110ef00cd5c21d5304bfbb (patch)
tree8b595b0971a63678414daead588c6b27a209d819 /src/model/flare.h
parent18180a06fa99bd97587b7c6e5bc60395b1d01262 (diff)
target_flare
Diffstat (limited to 'src/model/flare.h')
-rw-r--r--src/model/flare.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/model/flare.h b/src/model/flare.h
new file mode 100644
index 0000000..3cd192c
--- /dev/null
+++ b/src/model/flare.h
@@ -0,0 +1,27 @@
+/*
+ model/flare.h
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
+*/
+
+#ifndef __INCLUDED_MODEL_FLARE_H__
+#define __INCLUDED_MODEL_FLARE_H__
+
+#include "model/light.h"
+
+namespace model {
+
+/// a flare is a directional light
+class Flare : public Light {
+public:
+ Flare();
+ ~Flare();
+
+ inline float angle() const { return flare_angle; }
+
+ float flare_angle;
+};
+
+}
+
+#endif // __INCLUDED_MODEL_FLARE_H__