diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-30 23:24:36 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-30 23:43:03 -0600 |
commit | 141732e737eb7e9a1677fc3b5aa9ebcd66de3aca (patch) | |
tree | 196dabb31b85b92951e48462a425a58328350319 /libdimension/tests | |
parent | 54585ba35adc6afc46201b746401c5a8a66ab6fa (diff) | |
download | dimension-141732e737eb7e9a1677fc3b5aa9ebcd66de3aca.tar.xz |
Make lights more generic to support directional lights.
Diffstat (limited to 'libdimension/tests')
-rw-r--r-- | libdimension/tests/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/tests/render.c b/libdimension/tests/render.c index de5b6a4..85742d0 100644 --- a/libdimension/tests/render.c +++ b/libdimension/tests/render.c @@ -88,7 +88,7 @@ dmnsn_new_test_scene(void) dmnsn_new_vector(-15.0, 20.0, 10.0), dmnsn_white ); - dmnsn_array_push(scene->lights, &light); + dmnsn_scene_add_light(scene, light); /* Now make our objects */ |