Subversion Repositories gelsvn

Rev

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 <algorithm>
8
 
9
#include "Vec3f.h"
10
#include "Vec3d.h"
11
#include "Vec3Hf.h"
12
 
13
using namespace std;
14
 
15
namespace CGLA 
16
{
17
 
18
  Vec3f::Vec3f(const Vec3d& v):
19
    ArithVec3Float<float,Vec3f>(static_cast<float>(v[0]), 
20
				static_cast<float>(v[1]), 
21
				static_cast<float>(v[2])) {}
22
 
23
  Vec3f::Vec3f(const Vec4f& v):
24
    ArithVec3Float<float,Vec3f>(v[0],v[1],v[2]) {}
25
 
26
}