Subversion Repositories gelsvn

Rev

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

Rev 206 Rev 306
Line 6... Line 6...
6
#include "Vec3usi.h"
6
#include "Vec3usi.h"
7
 
7
 
8
namespace CGLA {
8
namespace CGLA {
9
	class Vec3d;
9
	class Vec3d;
10
	class Vec4f;
10
	class Vec4f;
11
	class Quaternion;
-
 
12
 
11
	
13
	/** \brief 3D float vector.
12
	/** \brief 3D float vector.
14
 
13
 
15
			Class Vec3f is the vector typically used in 3D computer graphics. 
14
			Class Vec3f is the vector typically used in 3D computer graphics. 
16
			The class has many constructors since we may need to convert from
15
			The class has many constructors since we may need to convert from
17
			other vector types. Most of these are explicit to avoid automatic
16
			other vector types. Most of these are explicit to avoid automatic
Line 41... Line 40...
41
			ArithVec3Float<float,Vec3f>(v[0],v[1],v[2]) {}
40
			ArithVec3Float<float,Vec3f>(v[0],v[1],v[2]) {}
42
 
41
 
43
		/// Construct from a 3D double vector.
42
		/// Construct from a 3D double vector.
44
		explicit Vec3f(const Vec3d&);
43
		explicit Vec3f(const Vec3d&);
45
 
44
 
46
		/// Construct from a Quaternion. ((NOTE: more explanation needed))
-
 
47
		explicit Vec3f(const Quaternion&);
-
 
48
		
-
 
49
		/// Construct from a 4D float vector (skipping the last value)
45
		/// Construct from a 4D float vector (skipping the last value)
50
		explicit Vec3f(const Vec4f&);
46
		explicit Vec3f(const Vec4f&);
51
	};
47
	};
52
 
48
 
53
}
49
}