Class tf2Vector4

Inheritance Relationships

Base Type

  • public Vector3

Class Documentation

class tf2Vector4 : public Vector3

Public Functions

inline TF2SIMD_FORCE_INLINE tf2Vector4()
inline TF2SIMD_FORCE_INLINE tf2Vector4(const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z, const tf2Scalar &w)
inline TF2SIMD_FORCE_INLINE tf2Vector4 absolute4 () const
inline tf2Scalar getW() const
inline TF2SIMD_FORCE_INLINE int maxAxis4 () const
inline TF2SIMD_FORCE_INLINE int minAxis4 () const
inline TF2SIMD_FORCE_INLINE int closestAxis4 () const
inline TF2SIMD_FORCE_INLINE void setValue (const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z, const tf2Scalar &w)

Set x,y,z and zero w.

Set the values

Parameters:
  • x – Value of x

  • y – Value of y

  • z – Value of z

  • x – Value of x

  • y – Value of y

  • z – Value of z

  • w – Value of w