From a8b7936b17a2270e6b19cb02f25dedc33a1a076e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 14 Jan 2010 13:05:50 -0500 Subject: Make number of raytracing worker threads configurable. --- libdimension/dimension/scene.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libdimension/dimension') 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 */ -- cgit v1.2.3