clray

view src/common.h @ 48:154f03802aea

forgot to add common.h to the repository
author John Tsiombikas
date Tue, 31 Aug 2010 01:03:46 +0100
parents
children 6a30f27fa1e6
line source
1 #ifndef COMMON_H_
2 #define COMMON_H_
4 /* primary ray magnitude */
5 #define RAY_MAG 500.0
7 /* maximum faces per leaf node of the kd-tree */
8 #define MAX_NODE_FACES 32
10 /* maximum kdtree depth */
11 #define MAX_TREE_DEPTH 64
13 /* width in pixels of the image-ified kdtree node */
14 #define KDIMG_NODE_WIDTH 16
16 /* maximum kdtree image height */
17 #define KDIMG_MAX_HEIGHT 4096
19 #endif /* COMMON_H_ */