Subversion Repositories gelsvn

Rev

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

Rev 299 Rev 304
Line 1... Line 1...
1
#ifndef __THREEDDDA_H
1
#ifndef __THREEDDDA_H
2
#define __THREEDDDA_H
2
#define __THREEDDDA_H
3
 
3
 
-
 
4
#ifdef _MSC_VER 
-
 
5
typedef __int64 Integer64Bits;
-
 
6
#else
-
 
7
typedef int64_t Integer64Bits;
-
 
8
#endif
-
 
9
 
-
 
10
 
4
#include "CGLA/Vec3f.h"
11
#include "CGLA/Vec3f.h"
5
#include "CGLA/Vec3i.h"
12
#include "CGLA/Vec3i.h"
6
 
13
 
7
namespace Geometry
14
namespace Geometry
8
{
15
{
Line 80... Line 87...
80
		/** Discriminators. These values are delta[i]*dir[j] where delta[i]
87
		/** Discriminators. These values are delta[i]*dir[j] where delta[i]
81
				is the distance from the origin of the ray to the current position
88
				is the distance from the origin of the ray to the current position
82
				along the i axis multiplied by two). dir[j] is the direction vector
89
				along the i axis multiplied by two). dir[j] is the direction vector
83
				coordinate j. */
90
				coordinate j. */
84
	
91
	
85
		__int64 disc[3][3];
92
		Integer64Bits disc[3][3];
86
 
93
 
87
		/** The current cell containing the ray. This value along with the 
94
		/** The current cell containing the ray. This value along with the 
88
				discriminators mentioned above represent the state of a ThreeDDDA. */
95
				discriminators mentioned above represent the state of a ThreeDDDA. */
89
		CGLA::Vec3i cell;
96
		CGLA::Vec3i cell;
90
 
97