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-05 17:45:30 +0000
committerStijn Buys <ingar@osirion.org>2008-05-05 17:45:30 +0000
commitc11c0174ece92b4502648ad33653975bfdfc39a0 (patch)
tree88860bfcbb7206834e61533af79f7631b5638cb2 /src/model/light.h
parent7218e3bd4616d4706090ec47d72845a2bb89c6a3 (diff)
lights with entity color, sunlight, network stats
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;