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/entity.h')
-rw-r--r--src/core/entity.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/entity.h b/src/core/entity.h
index bf35bfe..0b25dad 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -92,9 +92,12 @@ public:
/// local coordinate system of the entity
inline math::Axis & axis() { return entity_axis; }
- /// base color of the entity
+ /// primary color of the entity
inline math::Color const & color() const { return entity_color; }
+ /// secondary
+ inline math::Color const & color_second() const { return entity_color_second; }
+
/// base shape of the entity
inline Shape shape() const { return entity_shape; }
@@ -153,6 +156,7 @@ public:
model::Model *entity_model;
Shape entity_shape;
math::Color entity_color;
+ math::Color entity_color_second;
unsigned int entity_moduletypeid;
unsigned int entity_flags;