Subversion Repositories gelsvn

Rev

Rev 2 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 595
-
 
1
/* ----------------------------------------------------------------------- *
-
 
2
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
-
 
3
 * Copyright (C) the authors and DTU Informatics
-
 
4
 * For license and list of authors, see ../../doc/intro.pdf
-
 
5
 * ----------------------------------------------------------------------- */
-
 
6
 
1
#include "Vec2i.h"
7
#include "Vec2i.h"
2
#include "Vec2f.h"
8
#include "Vec2f.h"
3
 
9
 
4
namespace CGLA {
10
namespace CGLA {
5
 
11
 
6
	Vec2i::Vec2i(const Vec2f& v):
12
	Vec2i::Vec2i(const Vec2f& v):
7
		ArithVec<int,Vec2i,2>(int(floor(v[0])), int(floor(v[1]))) {}
13
		ArithVec<int,Vec2i,2>(int(floor(v[0])), int(floor(v[1]))) {}
8
 
14
 
9
}
15
}
10
 
16