From aaa4ff61f7b17759c4f4ccb3ac9011dd5f8a93f5 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 24 Jul 2008 00:47:13 +0000 Subject: primary, secondary, tertiary color rendering --- src/core/entity.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/core/entity.h') 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; -- cgit v1.2.3