From ea5cc8e4e0e9bd1d1a1e5e7140c0022a8bd2a59d Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Wed, 10 Aug 2011 00:20:23 -0400 Subject: add the ability to cache a geometry along with its bounding volume hierarchy. cached files are stored in $HOME/.chroma. fixed the timeit() decorator so that the decorated function is still able to pass back a return value. --- src/mesh.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesh.h') diff --git a/src/mesh.h b/src/mesh.h index 7c148af..b4714c4 100644 --- a/src/mesh.h +++ b/src/mesh.h @@ -16,10 +16,9 @@ __device__ unsigned int g_first_node; texture upper_bounds; texture lower_bounds; -/* map to child nodes/triangles and the number of child nodes/triangles */ +/* map to child node/triangle indices */ texture node_map; texture node_map_end; -//texture node_length; __device__ float3 make_float3(const float4 &a) { -- cgit