Go to most recent revision | Blame | Last modification | View Log | RSS feed
/* ----------------------------------------------------------------------- *
* This file is part of GEL, http://www.imm.dtu.dk/GEL
* Copyright (C) the authors and DTU Informatics
* For license and list of authors, see ../../doc/intro.pdf
* ----------------------------------------------------------------------- */
#include "Vec3i.h"
#include "Vec3f.h"
#include "Vec3d.h"
#include "Vec3uc.h"
namespace CGLA {
Vec3i::Vec3i(const Vec3f& v):
ArithVec3Int<int,Vec3i>(int(floor(v[0])),
int(floor(v[1])),
int(floor(v[2]))) {}
Vec3i::Vec3i(const Vec3d& v):
ArithVec3Int<int,Vec3i>(int(floor(v[0])),
int(floor(v[1])),
int(floor(v[2]))) {}
Vec3i::Vec3i(const Vec3uc& v):
ArithVec3Int<int,Vec3i>(v[0],v[1],v[2]) {}
Vec3i::Vec3i(const Vec3usi& v):
ArithVec3Int<int,Vec3i>(v[0],v[1],v[2]) {}
}