Subversion Repositories gelsvn

Rev

Rev 324 | Rev 422 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 324 Rev 417
Line 29... Line 29...
29
				CGLA::Vec3f direction;
29
				CGLA::Vec3f direction;
30
				CGLA::Vec3f hit_pos;
30
				CGLA::Vec3f hit_pos;
31
				CGLA::Vec3f hit_normal;
31
				CGLA::Vec3f hit_normal;
32
 
32
 
33
				bool has_hit; // Did the ray hit an object
33
				bool has_hit; // Did the ray hit an object
-
 
34
        bool inside;  // Is the ray inside an object
34
 
35
 
35
				double dist;  // Distance from origin to current intersection
36
				double dist;  // Distance from origin to current intersection
36
				float ior;    // Current index of refraction for media
37
				float ior;    // Current index of refraction for media
37
				float u, v;   // uv-coordinates on current surface
38
				float u, v;   // uv-coordinates on current surface
38
				float ran;
39
				float ran;