Cleaned up float vs double types in Vec*d and Vec2f classes

This commit is contained in:
Robert Osfield
2004-06-09 13:06:12 +00:00
parent 81082648c3
commit 893eaaa3f4
4 changed files with 28 additions and 28 deletions

View File

@@ -38,7 +38,7 @@ class Vec3d
inline Vec3d(const Vec3f& vec) { _v[0]=vec._v[0]; _v[1]=vec._v[1]; _v[2]=vec._v[2];}
inline operator Vec3f() const { return Vec3f(_v[0],_v[1],_v[2]);}
inline operator Vec3f() const { return Vec3f((float)_v[0],(float)_v[1],(float)_v[2]);}
Vec3d(value_type x,value_type y,value_type z) { _v[0]=x; _v[1]=y; _v[2]=z; }