Cleaned up float vs double types in Vec*d and Vec2f classes
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user