clray

annotate 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
rev   line source
John@48 1 #ifndef COMMON_H_
John@48 2 #define COMMON_H_
John@48 3
John@48 4 /* primary ray magnitude */
John@48 5 #define RAY_MAG 500.0
John@48 6
John@48 7 /* maximum faces per leaf node of the kd-tree */
John@48 8 #define MAX_NODE_FACES 32
John@48 9
John@48 10 /* maximum kdtree depth */
John@48 11 #define MAX_TREE_DEPTH 64
John@48 12
John@48 13 /* width in pixels of the image-ified kdtree node */
John@48 14 #define KDIMG_NODE_WIDTH 16
John@48 15
John@48 16 /* maximum kdtree image height */
John@48 17 #define KDIMG_MAX_HEIGHT 4096
John@48 18
John@48 19 #endif /* COMMON_H_ */