Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Goers <mega@osirion.org>2012-03-21 14:01:06 +0000
committerEvan Goers <mega@osirion.org>2012-03-21 14:01:06 +0000
commit2bb4648c0a92244d98a3dd0995e912eba80c4450 (patch)
treebf4b6d5fa05e32fddf7d96b9e8db78bf02aee847 /src/render/draw.h
parent980b47266c5fba9a7e7fabfa7a6d77167a47cb60 (diff)
Changed create_light() to add_light().
De-duplicated some magic numbers.
Diffstat (limited to 'src/render/draw.h')
-rw-r--r--src/render/draw.h2
1 files changed, 1 insertions, 1 deletions
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);