# HG changeset patch # User John Tsiombikas # Date 1283213026 -3600 # Node ID 154f03802aea4feb8bdc2a4954f6a9622abe00ff # Parent 30bf848815530e44f56fe4f95ec5d8f319732820 forgot to add common.h to the repository diff -r 30bf84881553 -r 154f03802aea src/common.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/common.h Tue Aug 31 01:03:46 2010 +0100 @@ -0,0 +1,19 @@ +#ifndef COMMON_H_ +#define COMMON_H_ + +/* primary ray magnitude */ +#define RAY_MAG 500.0 + +/* maximum faces per leaf node of the kd-tree */ +#define MAX_NODE_FACES 32 + +/* maximum kdtree depth */ +#define MAX_TREE_DEPTH 64 + +/* width in pixels of the image-ified kdtree node */ +#define KDIMG_NODE_WIDTH 16 + +/* maximum kdtree image height */ +#define KDIMG_MAX_HEIGHT 4096 + +#endif /* COMMON_H_ */