Subversion Repositories gelsvn

Rev

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

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