clray
diff src/common.h @ 54:6a30f27fa1e6
separated the OpenGL visualization and added a CPU raytracing mode
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 10 Sep 2010 16:47:00 +0100 |
parents | 154f03802aea |
children |
line diff
1.1 --- a/src/common.h Sun Sep 05 16:43:55 2010 +0100 1.2 +++ b/src/common.h Fri Sep 10 16:47:00 2010 +0100 1.3 @@ -1,6 +1,12 @@ 1.4 #ifndef COMMON_H_ 1.5 #define COMMON_H_ 1.6 1.7 +/* error threshold */ 1.8 +#define EPSILON 1e-5 1.9 + 1.10 +/* minimum trace energy threshold */ 1.11 +#define MIN_ENERGY 0.001 1.12 + 1.13 /* primary ray magnitude */ 1.14 #define RAY_MAG 500.0 1.15