From 2bb4648c0a92244d98a3dd0995e912eba80c4450 Mon Sep 17 00:00:00 2001 From: Evan Goers Date: Wed, 21 Mar 2012 14:01:06 +0000 Subject: Changed create_light() to add_light(). De-duplicated some magic numbers. --- src/render/draw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/draw.h') diff --git a/src/render/draw.h b/src/render/draw.h index e35c7c5..59a5b4a 100644 --- a/src/render/draw.h +++ b/src/render/draw.h @@ -27,7 +27,7 @@ void draw_target(const core::Entity *entity); void reset(); /// create light -int create_light(float* location, float attenuation, math::Color color); +int add_light(float* location, float attenuation, math::Color color); /// draw a sphere void draw_sphere(math::Color const & color, float radius); -- cgit v1.2.3