Subversion Repositories gelsvn

Rev

Rev 206 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 bj 1
#include <algorithm>
2
 
3
#include "Vec3f.h"
4
#include "Vec3d.h"
5
#include "Vec3Hf.h"
6
 
7
using namespace std;
8
 
206 jrf 9
namespace CGLA 
10
{
2 bj 11
 
206 jrf 12
  Vec3f::Vec3f(const Vec3d& v):
13
    ArithVec3Float<float,Vec3f>(static_cast<float>(v[0]), 
14
				static_cast<float>(v[1]), 
15
				static_cast<float>(v[2])) {}
16
 
17
  Vec3f::Vec3f(const Vec4f& v):
18
    ArithVec3Float<float,Vec3f>(v[0],v[1],v[2]) {}
2 bj 19
 
20
}