diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-24 00:47:13 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-24 00:47:13 +0000 |
commit | aaa4ff61f7b17759c4f4ccb3ac9011dd5f8a93f5 (patch) | |
tree | fafec5ef0c99f28cfa6b5b652d98b63b7a4673de /src/core/entity.h | |
parent | 11c122eb1cc86ca1a40c84eb411ccd97791dc47d (diff) |
primary, secondary, tertiary color rendering
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 6 |
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; |