summaryrefslogtreecommitdiffstats
path: root/libdimension/scene.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-01-08 15:54:55 -0500
committerTavian Barnes <tavianator@gmail.com>2010-01-08 15:54:55 -0500
commit09387c1cb66f26f1a25e7ddee776642d8236cb82 (patch)
treec7fd9ef42fc3e45ae0a89caeced4f1afea11623c /libdimension/scene.c
parent397f66bf47dabb6cb6ec9f5757189f875c6151c6 (diff)
downloaddimension-09387c1cb66f26f1a25e7ddee776642d8236cb82.tar.xz
Make recursion limit a scene parameter.
Diffstat (limited to 'libdimension/scene.c')
-rw-r--r--libdimension/scene.c1
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;
}