clray
changeset 48:154f03802aea
forgot to add common.h to the repository
author | John Tsiombikas |
---|---|
date | Tue, 31 Aug 2010 01:03:46 +0100 |
parents | 30bf84881553 |
children | 1ae68d46cfda |
files | src/common.h |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/common.h Tue Aug 31 01:03:46 2010 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +#ifndef COMMON_H_ 1.5 +#define COMMON_H_ 1.6 + 1.7 +/* primary ray magnitude */ 1.8 +#define RAY_MAG 500.0 1.9 + 1.10 +/* maximum faces per leaf node of the kd-tree */ 1.11 +#define MAX_NODE_FACES 32 1.12 + 1.13 +/* maximum kdtree depth */ 1.14 +#define MAX_TREE_DEPTH 64 1.15 + 1.16 +/* width in pixels of the image-ified kdtree node */ 1.17 +#define KDIMG_NODE_WIDTH 16 1.18 + 1.19 +/* maximum kdtree image height */ 1.20 +#define KDIMG_MAX_HEIGHT 4096 1.21 + 1.22 +#endif /* COMMON_H_ */