29 #define Vec4Impl Vec4d 35 : mVec(static_cast<double>(v.x()), static_cast<double>(v.y()), static_cast<double>(v.z()), static_cast<double>(v.w()))
42 mVec[0] =
static_cast<double>(v.
X());
mVec[1] =
static_cast<double>(v.
Y());
mVec[2] =
static_cast<double>(v.
Z());
mVec[2] =
static_cast<double>(v.
W());
Vec4d()
Default constructor.
void operator=(const Vec4d &v)
Set operator.
value_type & W()
Returns the W component of the vector.
General purpose 3D float Vector.
value_type & Z()
Returns the Z component of the vector.
value_type & Y()
Returns the Y component of the vector.
value_type & X()
Returns the X component of the vector.