Rev 321 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#include "Vec3i.h"
#include "Vec3f.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 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]) {}
}