Class tf2Vector4

Inheritance Relationships

Base Type

Class Documentation

class tf2Vector4 : public tf2::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 the values.

Parameters:
  • x – Value of x

  • y – Value of y

  • z – Value of z

  • w – Value of w