clray

annotate 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
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_ */