36template <
class DT>
class Tvec2;
37template <
class DT>
class Tvec3;
38template <
class DT>
class Tvec4;
39template <
class DT>
class Tmat5;
74 inline Tvec5(
const DT x,
const DT y,
const DT z,
const DT c,
const DT t)
119 inline void assign(
const DT x,
const DT y,
const DT z,
const DT c,
const DT t)
175#define _ML_VEC5_RC(i) a[i][0]*v[0] + a[i][1]*v[1] + a[i][2]*v[2] + a[i][3]*v[3] + a[i][4]*v[4]
FloatingPointVector(DT value=DT(0))
A 5x5 matrix class of five row vectors.
Tmat5 transpose() const
Returns the transposed of this matrix.
Declaration of float vector type traits.
Forward declarations to resolve header file dependencies.
Forward declarations to resolve header file dependencies.
Forward declarations to resolve header file dependencies.
Tvec5< DT > & operator+=(const Tvec2< DT > &v)
Incrementation by a Tvec2.
FloatingPointVector< DT, 5 > Superclass
A typedef as a shorthand for the base class.
void assign(const DT x, const DT y, const DT z, const DT c, const DT t)
Sets all components to the passed values.
Tvec5(const Tvec3< DT > &v, const DT c, const DT t)
Casts Tvec3 to Tvec5. Last components are set to c and t.
Tvec5< DT > & operator+=(const Tvec4< DT > &v)
Incrementation by a Tvec4.
Tvec5(const DT x, const DT y, const DT z, const DT c, const DT t)
Tvec5(const Tvec2< DT > &v, const DT z, const DT c, const DT t)
Casts Tvec2 to Tvec5. Last components are set to z, c, and t.
Tvec5< DT > & operator+=(const Tvec3< DT > &v)
Incrementation by a Tvec3.
Tvec5(const Tvec4< DT > &v, const DT t)
Casts Tvec4 to Tvec5. Last component is set to t.
const Tvec4< DT > getVec4() const
Returns a Tvec4 from components 0, 1, 2, and 3.
DT ComponentType
A typedef to 'export' the type of components.
const Tvec3< DT > getVec3() const
Returns a Tvec3 from components 0, 1, and 2.
Tvec5(const Superclass &v)
Copy constructor from FloatingPointVector.
#define _ML_VEC5_RC(i)
Internal helper macro for tMat5 with Tvec5 multiplications. Do not use.
Tvec5< MLdouble > Vector5
A vector with five components of type double.
Tvec5< MLfloat > Vector5f
A vector with five components of type float.
Tvec5< MLdouble > Vector5d
A vector with five components of type double.
T operator*(const FloatingPointVector< T, size, DataContainer > &a, const FloatingPointVector< T, size, DataContainer > &b)
Tvec5< MLldouble > Vector5ld
A vector with five components of type long double.