From 5a099735d5457298b87a33884356ff29417143e6 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 23 Mar 2008 22:24:13 +0000 Subject: strobe lights --- src/core/model.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/core/model.h') 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; }; -- cgit v1.2.3