Subversion Repositories gelsvn

Rev

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

Rev 89 Rev 306
Line 1... Line 1...
1
#ifndef __CGLA_VEC3D_H__
1
#ifndef __CGLA_VEC3D_H__
2
#define __CGLA_VEC3D_H__
2
#define __CGLA_VEC3D_H__
3
 
3
 
4
#include "ArithVec.h"
4
#include "ArithVec.h"
5
#include "Vec3i.h"
5
#include "Vec3i.h"
-
 
6
#include "Vec3usi.h"
6
#include "Vec3f.h"
7
#include "Vec3f.h"
7
 
8
 
8
 
9
 
9
namespace CGLA {
10
namespace CGLA {
10
 
11
 
Line 28... Line 29...
28
 
29
 
29
		/// Convert from int vector
30
		/// Convert from int vector
30
		explicit Vec3d(const Vec3i& v): 
31
		explicit Vec3d(const Vec3i& v): 
31
			ArithVec3Float<double,Vec3d>(v[0],v[1],v[2]) {}
32
			ArithVec3Float<double,Vec3d>(v[0],v[1],v[2]) {}
32
 
33
 
-
 
34
		/// Construct from a 3D unsigned int vector.
-
 
35
		explicit Vec3d(const Vec3usi& v): 
-
 
36
			ArithVec3Float<double,Vec3d>(v[0],v[1],v[2]) {}
-
 
37
 
33
		/// Convert from float vector
38
		/// Convert from float vector
34
		explicit Vec3d(const Vec3f& v): 
39
		explicit Vec3d(const Vec3f& v): 
35
			ArithVec3Float<double,Vec3d>(v[0],v[1],v[2]) {}
40
			ArithVec3Float<double,Vec3d>(v[0],v[1],v[2]) {}
36
	};
41
	};
37
 
42