clray

view src/common.h @ 62:d9520da6b801

minor readme fix
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 28 Dec 2015 10:31:58 +0200
parents 154f03802aea
children
line source
1 #ifndef COMMON_H_
2 #define COMMON_H_
4 /* error threshold */
5 #define EPSILON 1e-5
7 /* minimum trace energy threshold */
8 #define MIN_ENERGY 0.001
10 /* primary ray magnitude */
11 #define RAY_MAG 500.0
13 /* maximum faces per leaf node of the kd-tree */
14 #define MAX_NODE_FACES 32
16 /* maximum kdtree depth */
17 #define MAX_TREE_DEPTH 64
19 /* width in pixels of the image-ified kdtree node */
20 #define KDIMG_NODE_WIDTH 16
22 /* maximum kdtree image height */
23 #define KDIMG_MAX_HEIGHT 4096
25 #endif /* COMMON_H_ */