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-03-23 22:24:13 +0000
committerStijn Buys <ingar@osirion.org>2008-03-23 22:24:13 +0000
commit5a099735d5457298b87a33884356ff29417143e6 (patch)
tree05f6fa86051b0b7be450383d5cdea19340365cc6 /src/core/model.h
parent8529af97f7b9a5d69297726a62bdf3835f3c4d6d (diff)
strobe lights
Diffstat (limited to 'src/core/model.h')
-rw-r--r--src/core/model.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/model.h b/src/core/model.h
index 5a3cd72..bdfeb86 100644
--- a/src/core/model.h
+++ b/src/core/model.h
@@ -71,16 +71,19 @@ private:
class Light
{
public:
- Light(math::Vector3f const & location, math::Color const & color);
+ Light(math::Vector3f const & location, math::Color const & color, bool strobe=false);
~Light();
inline math::Vector3f const & location() const { return light_location; }
inline math::Color const & color() const { return light_color; };
+
+ inline bool strobe() const { return light_strobe; }
private:
math::Vector3f light_location;
math::Color light_color;
+ bool light_strobe;
};