From 980b47266c5fba9a7e7fabfa7a6d77167a47cb60 Mon Sep 17 00:00:00 2001 From: Evan Goers Date: Wed, 21 Mar 2012 11:57:11 +0000 Subject: Functionize light creation. --- src/render/draw.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/render/draw.h') diff --git a/src/render/draw.h b/src/render/draw.h index bc02bf5..e35c7c5 100644 --- a/src/render/draw.h +++ b/src/render/draw.h @@ -26,6 +26,9 @@ void draw_target(const core::Entity *entity); /// reset void reset(); +/// create light +int create_light(float* location, float attenuation, math::Color color); + /// draw a sphere void draw_sphere(math::Color const & color, float radius); -- cgit v1.2.3