Subversion Repositories gelsvn

Rev

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

Rev 2 Rev 5
Line 20... Line 20...
20
 
20
 
21
namespace CGLA {
21
namespace CGLA {
22
 
22
 
23
	/** Numerical constant representing something large.
23
	/** Numerical constant representing something large.
24
			value is a bit arbitrary */
24
			value is a bit arbitrary */
25
	const float BIG=10e+30f;
25
	const double BIG=10e+30;
26
 
26
 
27
	/** Numerical constant represents something extremely small.
27
	/** Numerical constant represents something extremely small.
28
			value is a bit arbitrary */
28
			value is a bit arbitrary */
29
	const float MINUTE=10e-30f;
29
	const double MINUTE=10e-30;
30
 
30
 
31
	/** Numerical constant represents something very small.
31
	/** Numerical constant represents something very small.
32
			value is a bit arbitrary */
32
			value is a bit arbitrary */
33
	const float TINY=3e-7f;
33
	const double TINY=3e-7;
34
	
34
	
35
	/** Numerical constant represents something small.
35
	/** Numerical constant represents something small.
36
			value is a bit arbitrary */
36
			value is a bit arbitrary */
37
	const float SMALL=10e-2f;
37
	const double SMALL=10e-2;
38
 
38
 
39
	const float SQRT3=sqrt(3.0f);
39
	const double SQRT3=sqrt(3.0);
40
 
40
 
41
	/// Useful enum that represents coordiante axes.
41
	/// Useful enum that represents coordiante axes.
42
	enum Axis {XAXIS=0,YAXIS=1,ZAXIS=2};
42
	enum Axis {XAXIS=0,YAXIS=1,ZAXIS=2};
43
 
43
 
44
	template<class Scalar>
44
	template<class Scalar>