Limited support
This feature is only present in Portal 2: Community Edition. Type: QAngle
Properties
Type | Name |
float | x |
float | y |
float | z |
Methods
Init
void Init(float ix, float iy, float iz)
Random
void Random(float minVal, float maxVal)
IsValid
bool IsValid() const
Invalidate
void Invalidate()
opIndex
float operator[](int i) const
opIndex
float& operator[](int i)
opEquals
bool operator==(const QAngle&in v) const
opAddAssign
QAngle& operator+=(const QAngle&in v)
opSubAssign
QAngle& operator-=(const QAngle&in v)
opMulAssign
QAngle& operator*=(float s)
opDivAssign
QAngle& operator/=(float s)
Length
float Length() const
LengthSqr
float LengthSqr() const
opAssign
QAngle& operator=(const QAngle&in)
NormalizeInPlace
void NormalizeInPlace()
NormalizePositiveInPlace
void NormalizePositiveInPlace()
Normalized
QAngle Normalized() const
NormalizedPositive
QAngle NormalizedPositive() const
ToQuaternion
Quaternion ToQuaternion() const
opNeg
QAngle operator-() const
opAdd
QAngle operator+(const QAngle&in v) const
opSub
QAngle operator-(const QAngle&in v) const
opMul
QAngle operator*(float fl) const
opDiv
QAngle operator/(float fl) const