Subversion Repositories gelsvn

Rev

Rev 306 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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