diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-30 19:46:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-30 19:46:10 +0000 |
commit | 360e51a9e672e301e2147eb06100f7e68dd74654 (patch) | |
tree | 0ba3a91c7b1c7ddc81baa2e18a1bdb4f05b2ae45 /src/render/draw.h | |
parent | bdac0333cd47e87442c52c2cd5edb83b3e7b4b5b (diff) |
Render lights and flares in ui::ModelView.
Diffstat (limited to 'src/render/draw.h')
-rw-r--r-- | src/render/draw.h | 11 |
1 files changed, 9 insertions, 2 deletions
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 { |