diff options
Diffstat (limited to 'src/render/draw.h')
-rw-r--r-- | src/render/draw.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/draw.h b/src/render/draw.h index 59a5b4a..f814168 100644 --- a/src/render/draw.h +++ b/src/render/draw.h @@ -26,11 +26,11 @@ void draw_target(const core::Entity *entity); /// reset void reset(); -/// create light -int add_light(float* location, float attenuation, math::Color color); +/// add a zone light +int add_light(const math::Vector3f & location, float attenuation, const math::Color & color); /// draw a sphere -void draw_sphere(math::Color const & color, float radius); +void draw_sphere(const math::Color & color, float radius); /// draw a corona void draw_globe_corona(const math::Vector3f location, const math::Color & color, const float radius, const size_t corona_id); |