summaryrefslogtreecommitdiffstats
path: root/libdimension/scene.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/scene.c')
-rw-r--r--libdimension/scene.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libdimension/scene.c b/libdimension/scene.c
index 78e1ffb..aec9b12 100644
--- a/libdimension/scene.c
+++ b/libdimension/scene.c
@@ -33,12 +33,13 @@ dmnsn_new_scene()
return NULL;
}
- scene->camera = NULL;
- scene->canvas = NULL;
- scene->objects = dmnsn_new_array(sizeof(dmnsn_object *));
- scene->lights = dmnsn_new_array(sizeof(dmnsn_light *));
- scene->quality = DMNSN_RENDER_FULL;
- scene->limit = 10;
+ scene->camera = NULL;
+ scene->canvas = NULL;
+ scene->objects = dmnsn_new_array(sizeof(dmnsn_object *));
+ scene->lights = dmnsn_new_array(sizeof(dmnsn_light *));
+ scene->quality = DMNSN_RENDER_FULL;
+ scene->limit = 10;
+ scene->nthreads = 0;
}
return scene;
}