clray

view src/common.h @ 51:9c0867942612

changed the binary target to clray
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 02 Sep 2010 01:41:51 +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_ */