Class tf2Vector4

Inheritance Relationships

Base Type

  • public Vector3

Class Documentation

class tf2Vector4 : public Vector3

Public Functions

inline tf2Vector4()
inline tf2Vector4(const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z, const tf2Scalar &w)
inline tf2Vector4 absolute4() const
inline tf2Scalar getW() const
inline int maxAxis4() const
inline int minAxis4() const
inline int closestAxis4() const
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