Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
660 |
khor |
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 |
|
|
|
7 |
#include "Vec2i.h"
|
|
|
8 |
#include "Vec2f.h"
|
|
|
9 |
|
|
|
10 |
namespace CGLA {
|
|
|
11 |
|
|
|
12 |
Vec2i::Vec2i(const Vec2f& v):
|
|
|
13 |
ArithVec<int,Vec2i,2>(int(floor(v[0])), int(floor(v[1]))) {}
|
|
|
14 |
|
|
|
15 |
}
|