Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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;
};