diff options
author | Evan Goers <mega@osirion.org> | 2012-03-21 11:57:11 +0000 |
---|---|---|
committer | Evan Goers <mega@osirion.org> | 2012-03-21 11:57:11 +0000 |
commit | 980b47266c5fba9a7e7fabfa7a6d77167a47cb60 (patch) | |
tree | 40a165fbf3e5c7daacea51de887f01301b823145 /src/render/draw.h | |
parent | c4cd091c43ade80033f41c1ceda5c9f51979dcbc (diff) |
Functionize light creation.
Diffstat (limited to 'src/render/draw.h')
-rw-r--r-- | src/render/draw.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |