Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/light.h')
-rw-r--r--src/model/light.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/model/light.h b/src/model/light.h
index 9605497..b834623 100644
--- a/src/model/light.h
+++ b/src/model/light.h
@@ -29,6 +29,9 @@ public:
/// true if this is a strobe light
inline bool strobe() const { return light_strobe; }
+ /// true if this light has entity color
+ inline bool entity() const { return light_entity; }
+
/// size if the light, default is 1.0f
inline float radius() const { return light_radius; }
@@ -50,6 +53,7 @@ public:
math::Vector3f light_location;
math::Color light_color;
bool light_strobe;
+ bool light_entity;
float light_radius;
float light_frequency;
float light_offset;