Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-03-22 19:56:35 +0000
committerStijn Buys <ingar@osirion.org>2012-03-22 19:56:35 +0000
commit75fd54748dd65b25f25f84a0bbdc25d6b7d4eb67 (patch)
tree9ba4ad39b8c3ed7615260bd451e54ba9d41614e9 /src/render/draw.h
parent2bb4648c0a92244d98a3dd0995e912eba80c4450 (diff)
Cleaned up lighting related variable names.
Diffstat (limited to 'src/render/draw.h')
-rw-r--r--src/render/draw.h6
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);