Subversion Repositories gelsvn

Rev

Rev 2 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 321
1
#include "Vec3i.h"
1
#include "Vec3i.h"
2
#include "Vec3f.h"
2
#include "Vec3f.h"
3
#include "Vec3uc.h"
3
#include "Vec3uc.h"
4
 
4
 
5
namespace CGLA {
5
namespace CGLA {
6
 
6
 
7
	Vec3i::Vec3i(const Vec3f& v):
7
	Vec3i::Vec3i(const Vec3f& v):
8
		ArithVec3Int<int,Vec3i>(int(floor(v[0])), 
8
		ArithVec3Int<int,Vec3i>(int(floor(v[0])), 
9
														int(floor(v[1])), 
9
														int(floor(v[1])), 
10
														int(floor(v[2]))) {}
10
														int(floor(v[2]))) {}
11
 
11
 
12
	Vec3i::Vec3i(const Vec3uc& v): 
12
	Vec3i::Vec3i(const Vec3uc& v): 
13
		ArithVec3Int<int,Vec3i>(v[0],v[1],v[2]) {}
13
		ArithVec3Int<int,Vec3i>(v[0],v[1],v[2]) {}
14
 
14
 
15
	Vec3i::Vec3i(const Vec3usi& v): 
15
	Vec3i::Vec3i(const Vec3usi& v): 
16
		ArithVec3Int<int,Vec3i>(v[0],v[1],v[2]) {}
16
		ArithVec3Int<int,Vec3i>(v[0],v[1],v[2]) {}
17
 
-
 
18
}
17
}
19
 
18