From 360e51a9e672e301e2147eb06100f7e68dd74654 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 30 Nov 2010 19:46:10 +0000 Subject: Render lights and flares in ui::ModelView. --- src/render/draw.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/render/draw.h') diff --git a/src/render/draw.h b/src/render/draw.h index da5115f..4a758b1 100644 --- a/src/render/draw.h +++ b/src/render/draw.h @@ -29,10 +29,17 @@ void reset(); /// draw a sphere void draw_sphere(math::Color const & color, float radius); +/// draw mode lights and flares +void draw_model_lights(model::Model *model, const float scale, + const math::Vector3f & entity_location, const math::Axis & entity_axis, + const math::Color & entity_color, const float thrust, const float fuzz +); + /// draw a model void draw_model_fragments(model::Model *model, - const math::Color & color_primary, const math::Color & color_secondary, - const float enginetime, const bool detail, const bool power, const float thrust); + const math::Color & color_primary, const math::Color & color_secondary, + const float enginetime, const bool detail, const bool power, const float thrust +); class Stats { -- cgit v1.2.3