diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-01-14 13:05:50 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-01-14 13:05:50 -0500 |
commit | a8b7936b17a2270e6b19cb02f25dedc33a1a076e (patch) | |
tree | 2913a0aa2bc8068cb500a456d1ae616240698508 /libdimension/dimension | |
parent | 2cbebd8502fa8ca6ca65d83c55e478a3ea502627 (diff) | |
download | dimension-a8b7936b17a2270e6b19cb02f25dedc33a1a076e.tar.xz |
Make number of raytracing worker threads configurable.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/scene.h | 3 |
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 */ |