summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/scene.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-01-14 13:05:50 -0500
committerTavian Barnes <tavianator@gmail.com>2010-01-14 13:05:50 -0500
commita8b7936b17a2270e6b19cb02f25dedc33a1a076e (patch)
tree2913a0aa2bc8068cb500a456d1ae616240698508 /libdimension/dimension/scene.h
parent2cbebd8502fa8ca6ca65d83c55e478a3ea502627 (diff)
downloaddimension-a8b7936b17a2270e6b19cb02f25dedc33a1a076e.tar.xz
Make number of raytracing worker threads configurable.
Diffstat (limited to 'libdimension/dimension/scene.h')
-rw-r--r--libdimension/dimension/scene.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h
index 2064792..ffc8517 100644
--- a/libdimension/dimension/scene.h
+++ b/libdimension/dimension/scene.h
@@ -57,6 +57,9 @@ typedef struct {
/* Recursion limit */
unsigned int limit;
+
+ /* Number of paralell threads */
+ unsigned int nthreads;
} dmnsn_scene;
/* Create a scene */