diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-01-08 15:54:55 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-01-08 15:54:55 -0500 |
commit | 09387c1cb66f26f1a25e7ddee776642d8236cb82 (patch) | |
tree | c7fd9ef42fc3e45ae0a89caeced4f1afea11623c /libdimension/scene.c | |
parent | 397f66bf47dabb6cb6ec9f5757189f875c6151c6 (diff) | |
download | dimension-09387c1cb66f26f1a25e7ddee776642d8236cb82.tar.xz |
Make recursion limit a scene parameter.
Diffstat (limited to 'libdimension/scene.c')
-rw-r--r-- | libdimension/scene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension/scene.c b/libdimension/scene.c index 7a39679..78e1ffb 100644 --- a/libdimension/scene.c +++ b/libdimension/scene.c @@ -38,6 +38,7 @@ dmnsn_new_scene() scene->objects = dmnsn_new_array(sizeof(dmnsn_object *)); scene->lights = dmnsn_new_array(sizeof(dmnsn_light *)); scene->quality = DMNSN_RENDER_FULL; + scene->limit = 10; } return scene; } |