![]() |
TrinityCore
|
#include <Vector4.h>
Static Public Member Functions | |
static const Vector4 & | zero () |
static const Vector4 & | inf () |
static const Vector4 & | nan () |
Public Attributes | |
float | x |
float | y |
float | z |
float | w |
Private Member Functions | |
bool | operator< (const Vector4 &) const |
bool | operator> (const Vector4 &) const |
bool | operator<= (const Vector4 &) const |
bool | operator>= (const Vector4 &) const |
Friends | |
Vector4 | operator* (float, const Vector4 &rkVector) |
Do not subclass– this implementation makes assumptions about the memory layout.
|
inline |
|
inline |
|
inline |
G3D::Vector4::Vector4 | ( | const Vector4int8 & | v | ) |
Divides by 127 when converting
G3D::Vector4::Vector4 | ( | class BinaryInput & | b | ) |
|
inline |
void G3D::Vector4::deserialize | ( | class BinaryInput & | b | ) |
size_t G3D::Vector4::hashCode | ( | ) | const |
|
inline |
Returns true if this vector has finite length
|
inline |
Returns true if this vector has length == 1
|
inline |
Returns true if this vector has length == 0
|
inline |
sqrt(this->dot(*this))
|
inline |
|
inline |
|
inline |
Vector4 G3D::Vector4::operator/ | ( | float | fScalar | ) | const |
Vector4 & G3D::Vector4::operator/= | ( | float | fScalar | ) |
|
inline |
void G3D::Vector4::serialize | ( | class BinaryOutput & | b | ) | const |
|
inline |
|
inline |
|
inline |
Any G3D::Vector4::toAny | ( | ) | const |
std::string G3D::Vector4::toString | ( | ) | const |
Vector2 G3D::Vector4::ww | ( | ) | const |
Vector3 G3D::Vector4::www | ( | ) | const |
Vector4 G3D::Vector4::wwww | ( | ) | const |
Vector4 G3D::Vector4::wwwx | ( | ) | const |
Vector4 G3D::Vector4::wwwy | ( | ) | const |
Vector4 G3D::Vector4::wwwz | ( | ) | const |
Vector3 G3D::Vector4::wwx | ( | ) | const |
Vector4 G3D::Vector4::wwxw | ( | ) | const |
Vector4 G3D::Vector4::wwxx | ( | ) | const |
Vector4 G3D::Vector4::wwxy | ( | ) | const |
Vector4 G3D::Vector4::wwxz | ( | ) | const |
Vector3 G3D::Vector4::wwy | ( | ) | const |
Vector4 G3D::Vector4::wwyw | ( | ) | const |
Vector4 G3D::Vector4::wwyx | ( | ) | const |
Vector4 G3D::Vector4::wwyy | ( | ) | const |
Vector4 G3D::Vector4::wwyz | ( | ) | const |
Vector3 G3D::Vector4::wwz | ( | ) | const |
Vector4 G3D::Vector4::wwzw | ( | ) | const |
Vector4 G3D::Vector4::wwzx | ( | ) | const |
Vector4 G3D::Vector4::wwzy | ( | ) | const |
Vector4 G3D::Vector4::wwzz | ( | ) | const |
Vector2 G3D::Vector4::wx | ( | ) | const |
Vector3 G3D::Vector4::wxw | ( | ) | const |
Vector4 G3D::Vector4::wxww | ( | ) | const |
Vector4 G3D::Vector4::wxwx | ( | ) | const |
Vector4 G3D::Vector4::wxwy | ( | ) | const |
Vector4 G3D::Vector4::wxwz | ( | ) | const |
Vector3 G3D::Vector4::wxx | ( | ) | const |
Vector4 G3D::Vector4::wxxw | ( | ) | const |
Vector4 G3D::Vector4::wxxx | ( | ) | const |
Vector4 G3D::Vector4::wxxy | ( | ) | const |
Vector4 G3D::Vector4::wxxz | ( | ) | const |
Vector3 G3D::Vector4::wxy | ( | ) | const |
Vector4 G3D::Vector4::wxyw | ( | ) | const |
Vector4 G3D::Vector4::wxyx | ( | ) | const |
Vector4 G3D::Vector4::wxyy | ( | ) | const |
Vector4 G3D::Vector4::wxyz | ( | ) | const |
Vector3 G3D::Vector4::wxz | ( | ) | const |
Vector4 G3D::Vector4::wxzw | ( | ) | const |
Vector4 G3D::Vector4::wxzx | ( | ) | const |
Vector4 G3D::Vector4::wxzy | ( | ) | const |
Vector4 G3D::Vector4::wxzz | ( | ) | const |
Vector2 G3D::Vector4::wy | ( | ) | const |
Vector3 G3D::Vector4::wyw | ( | ) | const |
Vector4 G3D::Vector4::wyww | ( | ) | const |
Vector4 G3D::Vector4::wywx | ( | ) | const |
Vector4 G3D::Vector4::wywy | ( | ) | const |
Vector4 G3D::Vector4::wywz | ( | ) | const |
Vector3 G3D::Vector4::wyx | ( | ) | const |
Vector4 G3D::Vector4::wyxw | ( | ) | const |
Vector4 G3D::Vector4::wyxx | ( | ) | const |
Vector4 G3D::Vector4::wyxy | ( | ) | const |
Vector4 G3D::Vector4::wyxz | ( | ) | const |
Vector3 G3D::Vector4::wyy | ( | ) | const |
Vector4 G3D::Vector4::wyyw | ( | ) | const |
Vector4 G3D::Vector4::wyyx | ( | ) | const |
Vector4 G3D::Vector4::wyyy | ( | ) | const |
Vector4 G3D::Vector4::wyyz | ( | ) | const |
Vector3 G3D::Vector4::wyz | ( | ) | const |
Vector4 G3D::Vector4::wyzw | ( | ) | const |
Vector4 G3D::Vector4::wyzx | ( | ) | const |
Vector4 G3D::Vector4::wyzy | ( | ) | const |
Vector4 G3D::Vector4::wyzz | ( | ) | const |
Vector2 G3D::Vector4::wz | ( | ) | const |
Vector3 G3D::Vector4::wzw | ( | ) | const |
Vector4 G3D::Vector4::wzww | ( | ) | const |
Vector4 G3D::Vector4::wzwx | ( | ) | const |
Vector4 G3D::Vector4::wzwy | ( | ) | const |
Vector4 G3D::Vector4::wzwz | ( | ) | const |
Vector3 G3D::Vector4::wzx | ( | ) | const |
Vector4 G3D::Vector4::wzxw | ( | ) | const |
Vector4 G3D::Vector4::wzxx | ( | ) | const |
Vector4 G3D::Vector4::wzxy | ( | ) | const |
Vector4 G3D::Vector4::wzxz | ( | ) | const |
Vector3 G3D::Vector4::wzy | ( | ) | const |
Vector4 G3D::Vector4::wzyw | ( | ) | const |
Vector4 G3D::Vector4::wzyx | ( | ) | const |
Vector4 G3D::Vector4::wzyy | ( | ) | const |
Vector4 G3D::Vector4::wzyz | ( | ) | const |
Vector3 G3D::Vector4::wzz | ( | ) | const |
Vector4 G3D::Vector4::wzzw | ( | ) | const |
Vector4 G3D::Vector4::wzzx | ( | ) | const |
Vector4 G3D::Vector4::wzzy | ( | ) | const |
Vector4 G3D::Vector4::wzzz | ( | ) | const |
Vector2 G3D::Vector4::xw | ( | ) | const |
Vector3 G3D::Vector4::xww | ( | ) | const |
Vector4 G3D::Vector4::xwww | ( | ) | const |
Vector4 G3D::Vector4::xwwx | ( | ) | const |
Vector4 G3D::Vector4::xwwy | ( | ) | const |
Vector4 G3D::Vector4::xwwz | ( | ) | const |
Vector3 G3D::Vector4::xwx | ( | ) | const |
Vector4 G3D::Vector4::xwxw | ( | ) | const |
Vector4 G3D::Vector4::xwxx | ( | ) | const |
Vector4 G3D::Vector4::xwxy | ( | ) | const |
Vector4 G3D::Vector4::xwxz | ( | ) | const |
Vector3 G3D::Vector4::xwy | ( | ) | const |
Vector4 G3D::Vector4::xwyw | ( | ) | const |
Vector4 G3D::Vector4::xwyx | ( | ) | const |
Vector4 G3D::Vector4::xwyy | ( | ) | const |
Vector4 G3D::Vector4::xwyz | ( | ) | const |
Vector3 G3D::Vector4::xwz | ( | ) | const |
Vector4 G3D::Vector4::xwzw | ( | ) | const |
Vector4 G3D::Vector4::xwzx | ( | ) | const |
Vector4 G3D::Vector4::xwzy | ( | ) | const |
Vector4 G3D::Vector4::xwzz | ( | ) | const |
Vector2 G3D::Vector4::xx | ( | ) | const |
Vector3 G3D::Vector4::xxw | ( | ) | const |
Vector4 G3D::Vector4::xxww | ( | ) | const |
Vector4 G3D::Vector4::xxwx | ( | ) | const |
Vector4 G3D::Vector4::xxwy | ( | ) | const |
Vector4 G3D::Vector4::xxwz | ( | ) | const |
Vector3 G3D::Vector4::xxx | ( | ) | const |
Vector4 G3D::Vector4::xxxw | ( | ) | const |
Vector4 G3D::Vector4::xxxx | ( | ) | const |
Vector4 G3D::Vector4::xxxy | ( | ) | const |
Vector4 G3D::Vector4::xxxz | ( | ) | const |
Vector3 G3D::Vector4::xxy | ( | ) | const |
Vector4 G3D::Vector4::xxyw | ( | ) | const |
Vector4 G3D::Vector4::xxyx | ( | ) | const |
Vector4 G3D::Vector4::xxyy | ( | ) | const |
Vector4 G3D::Vector4::xxyz | ( | ) | const |
Vector3 G3D::Vector4::xxz | ( | ) | const |
Vector4 G3D::Vector4::xxzw | ( | ) | const |
Vector4 G3D::Vector4::xxzx | ( | ) | const |
Vector4 G3D::Vector4::xxzy | ( | ) | const |
Vector4 G3D::Vector4::xxzz | ( | ) | const |
Vector2 G3D::Vector4::xy | ( | ) | const |
Vector3 G3D::Vector4::xyw | ( | ) | const |
Vector4 G3D::Vector4::xyww | ( | ) | const |
Vector4 G3D::Vector4::xywx | ( | ) | const |
Vector4 G3D::Vector4::xywy | ( | ) | const |
Vector4 G3D::Vector4::xywz | ( | ) | const |
Vector3 G3D::Vector4::xyx | ( | ) | const |
Vector4 G3D::Vector4::xyxw | ( | ) | const |
Vector4 G3D::Vector4::xyxx | ( | ) | const |
Vector4 G3D::Vector4::xyxy | ( | ) | const |
Vector4 G3D::Vector4::xyxz | ( | ) | const |
Vector3 G3D::Vector4::xyy | ( | ) | const |
Vector4 G3D::Vector4::xyyw | ( | ) | const |
Vector4 G3D::Vector4::xyyx | ( | ) | const |
Vector4 G3D::Vector4::xyyy | ( | ) | const |
Vector4 G3D::Vector4::xyyz | ( | ) | const |
Vector3 G3D::Vector4::xyz | ( | ) | const |
Vector4 G3D::Vector4::xyzw | ( | ) | const |
Vector4 G3D::Vector4::xyzx | ( | ) | const |
Vector4 G3D::Vector4::xyzy | ( | ) | const |
Vector4 G3D::Vector4::xyzz | ( | ) | const |
Vector2 G3D::Vector4::xz | ( | ) | const |
Vector3 G3D::Vector4::xzw | ( | ) | const |
Vector4 G3D::Vector4::xzww | ( | ) | const |
Vector4 G3D::Vector4::xzwx | ( | ) | const |
Vector4 G3D::Vector4::xzwy | ( | ) | const |
Vector4 G3D::Vector4::xzwz | ( | ) | const |
Vector3 G3D::Vector4::xzx | ( | ) | const |
Vector4 G3D::Vector4::xzxw | ( | ) | const |
Vector4 G3D::Vector4::xzxx | ( | ) | const |
Vector4 G3D::Vector4::xzxy | ( | ) | const |
Vector4 G3D::Vector4::xzxz | ( | ) | const |
Vector3 G3D::Vector4::xzy | ( | ) | const |
Vector4 G3D::Vector4::xzyw | ( | ) | const |
Vector4 G3D::Vector4::xzyx | ( | ) | const |
Vector4 G3D::Vector4::xzyy | ( | ) | const |
Vector4 G3D::Vector4::xzyz | ( | ) | const |
Vector3 G3D::Vector4::xzz | ( | ) | const |
Vector4 G3D::Vector4::xzzw | ( | ) | const |
Vector4 G3D::Vector4::xzzx | ( | ) | const |
Vector4 G3D::Vector4::xzzy | ( | ) | const |
Vector4 G3D::Vector4::xzzz | ( | ) | const |
Vector2 G3D::Vector4::yw | ( | ) | const |
Vector3 G3D::Vector4::yww | ( | ) | const |
Vector4 G3D::Vector4::ywww | ( | ) | const |
Vector4 G3D::Vector4::ywwx | ( | ) | const |
Vector4 G3D::Vector4::ywwy | ( | ) | const |
Vector4 G3D::Vector4::ywwz | ( | ) | const |
Vector3 G3D::Vector4::ywx | ( | ) | const |
Vector4 G3D::Vector4::ywxw | ( | ) | const |
Vector4 G3D::Vector4::ywxx | ( | ) | const |
Vector4 G3D::Vector4::ywxy | ( | ) | const |
Vector4 G3D::Vector4::ywxz | ( | ) | const |
Vector3 G3D::Vector4::ywy | ( | ) | const |
Vector4 G3D::Vector4::ywyw | ( | ) | const |
Vector4 G3D::Vector4::ywyx | ( | ) | const |
Vector4 G3D::Vector4::ywyy | ( | ) | const |
Vector4 G3D::Vector4::ywyz | ( | ) | const |
Vector3 G3D::Vector4::ywz | ( | ) | const |
Vector4 G3D::Vector4::ywzw | ( | ) | const |
Vector4 G3D::Vector4::ywzx | ( | ) | const |
Vector4 G3D::Vector4::ywzy | ( | ) | const |
Vector4 G3D::Vector4::ywzz | ( | ) | const |
Vector2 G3D::Vector4::yx | ( | ) | const |
Vector3 G3D::Vector4::yxw | ( | ) | const |
Vector4 G3D::Vector4::yxww | ( | ) | const |
Vector4 G3D::Vector4::yxwx | ( | ) | const |
Vector4 G3D::Vector4::yxwy | ( | ) | const |
Vector4 G3D::Vector4::yxwz | ( | ) | const |
Vector3 G3D::Vector4::yxx | ( | ) | const |
Vector4 G3D::Vector4::yxxw | ( | ) | const |
Vector4 G3D::Vector4::yxxx | ( | ) | const |
Vector4 G3D::Vector4::yxxy | ( | ) | const |
Vector4 G3D::Vector4::yxxz | ( | ) | const |
Vector3 G3D::Vector4::yxy | ( | ) | const |
Vector4 G3D::Vector4::yxyw | ( | ) | const |
Vector4 G3D::Vector4::yxyx | ( | ) | const |
Vector4 G3D::Vector4::yxyy | ( | ) | const |
Vector4 G3D::Vector4::yxyz | ( | ) | const |
Vector3 G3D::Vector4::yxz | ( | ) | const |
Vector4 G3D::Vector4::yxzw | ( | ) | const |
Vector4 G3D::Vector4::yxzx | ( | ) | const |
Vector4 G3D::Vector4::yxzy | ( | ) | const |
Vector4 G3D::Vector4::yxzz | ( | ) | const |
Vector2 G3D::Vector4::yy | ( | ) | const |
Vector3 G3D::Vector4::yyw | ( | ) | const |
Vector4 G3D::Vector4::yyww | ( | ) | const |
Vector4 G3D::Vector4::yywx | ( | ) | const |
Vector4 G3D::Vector4::yywy | ( | ) | const |
Vector4 G3D::Vector4::yywz | ( | ) | const |
Vector3 G3D::Vector4::yyx | ( | ) | const |
Vector4 G3D::Vector4::yyxw | ( | ) | const |
Vector4 G3D::Vector4::yyxx | ( | ) | const |
Vector4 G3D::Vector4::yyxy | ( | ) | const |
Vector4 G3D::Vector4::yyxz | ( | ) | const |
Vector3 G3D::Vector4::yyy | ( | ) | const |
Vector4 G3D::Vector4::yyyw | ( | ) | const |
Vector4 G3D::Vector4::yyyx | ( | ) | const |
Vector4 G3D::Vector4::yyyy | ( | ) | const |
Vector4 G3D::Vector4::yyyz | ( | ) | const |
Vector3 G3D::Vector4::yyz | ( | ) | const |
Vector4 G3D::Vector4::yyzw | ( | ) | const |
Vector4 G3D::Vector4::yyzx | ( | ) | const |
Vector4 G3D::Vector4::yyzy | ( | ) | const |
Vector4 G3D::Vector4::yyzz | ( | ) | const |
Vector2 G3D::Vector4::yz | ( | ) | const |
Vector3 G3D::Vector4::yzw | ( | ) | const |
Vector4 G3D::Vector4::yzww | ( | ) | const |
Vector4 G3D::Vector4::yzwx | ( | ) | const |
Vector4 G3D::Vector4::yzwy | ( | ) | const |
Vector4 G3D::Vector4::yzwz | ( | ) | const |
Vector3 G3D::Vector4::yzx | ( | ) | const |
Vector4 G3D::Vector4::yzxw | ( | ) | const |
Vector4 G3D::Vector4::yzxx | ( | ) | const |
Vector4 G3D::Vector4::yzxy | ( | ) | const |
Vector4 G3D::Vector4::yzxz | ( | ) | const |
Vector3 G3D::Vector4::yzy | ( | ) | const |
Vector4 G3D::Vector4::yzyw | ( | ) | const |
Vector4 G3D::Vector4::yzyx | ( | ) | const |
Vector4 G3D::Vector4::yzyy | ( | ) | const |
Vector4 G3D::Vector4::yzyz | ( | ) | const |
Vector3 G3D::Vector4::yzz | ( | ) | const |
Vector4 G3D::Vector4::yzzw | ( | ) | const |
Vector4 G3D::Vector4::yzzx | ( | ) | const |
Vector4 G3D::Vector4::yzzy | ( | ) | const |
Vector4 G3D::Vector4::yzzz | ( | ) | const |
Vector2 G3D::Vector4::zw | ( | ) | const |
Vector3 G3D::Vector4::zww | ( | ) | const |
Vector4 G3D::Vector4::zwww | ( | ) | const |
Vector4 G3D::Vector4::zwwx | ( | ) | const |
Vector4 G3D::Vector4::zwwy | ( | ) | const |
Vector4 G3D::Vector4::zwwz | ( | ) | const |
Vector3 G3D::Vector4::zwx | ( | ) | const |
Vector4 G3D::Vector4::zwxw | ( | ) | const |
Vector4 G3D::Vector4::zwxx | ( | ) | const |
Vector4 G3D::Vector4::zwxy | ( | ) | const |
Vector4 G3D::Vector4::zwxz | ( | ) | const |
Vector3 G3D::Vector4::zwy | ( | ) | const |
Vector4 G3D::Vector4::zwyw | ( | ) | const |
Vector4 G3D::Vector4::zwyx | ( | ) | const |
Vector4 G3D::Vector4::zwyy | ( | ) | const |
Vector4 G3D::Vector4::zwyz | ( | ) | const |
Vector3 G3D::Vector4::zwz | ( | ) | const |
Vector4 G3D::Vector4::zwzw | ( | ) | const |
Vector4 G3D::Vector4::zwzx | ( | ) | const |
Vector4 G3D::Vector4::zwzy | ( | ) | const |
Vector4 G3D::Vector4::zwzz | ( | ) | const |
Vector2 G3D::Vector4::zx | ( | ) | const |
Vector3 G3D::Vector4::zxw | ( | ) | const |
Vector4 G3D::Vector4::zxww | ( | ) | const |
Vector4 G3D::Vector4::zxwx | ( | ) | const |
Vector4 G3D::Vector4::zxwy | ( | ) | const |
Vector4 G3D::Vector4::zxwz | ( | ) | const |
Vector3 G3D::Vector4::zxx | ( | ) | const |
Vector4 G3D::Vector4::zxxw | ( | ) | const |
Vector4 G3D::Vector4::zxxx | ( | ) | const |
Vector4 G3D::Vector4::zxxy | ( | ) | const |
Vector4 G3D::Vector4::zxxz | ( | ) | const |
Vector3 G3D::Vector4::zxy | ( | ) | const |
Vector4 G3D::Vector4::zxyw | ( | ) | const |
Vector4 G3D::Vector4::zxyx | ( | ) | const |
Vector4 G3D::Vector4::zxyy | ( | ) | const |
Vector4 G3D::Vector4::zxyz | ( | ) | const |
Vector3 G3D::Vector4::zxz | ( | ) | const |
Vector4 G3D::Vector4::zxzw | ( | ) | const |
Vector4 G3D::Vector4::zxzx | ( | ) | const |
Vector4 G3D::Vector4::zxzy | ( | ) | const |
Vector4 G3D::Vector4::zxzz | ( | ) | const |
Vector2 G3D::Vector4::zy | ( | ) | const |
Vector3 G3D::Vector4::zyw | ( | ) | const |
Vector4 G3D::Vector4::zyww | ( | ) | const |
Vector4 G3D::Vector4::zywx | ( | ) | const |
Vector4 G3D::Vector4::zywy | ( | ) | const |
Vector4 G3D::Vector4::zywz | ( | ) | const |
Vector3 G3D::Vector4::zyx | ( | ) | const |
Vector4 G3D::Vector4::zyxw | ( | ) | const |
Vector4 G3D::Vector4::zyxx | ( | ) | const |
Vector4 G3D::Vector4::zyxy | ( | ) | const |
Vector4 G3D::Vector4::zyxz | ( | ) | const |
Vector3 G3D::Vector4::zyy | ( | ) | const |
Vector4 G3D::Vector4::zyyw | ( | ) | const |
Vector4 G3D::Vector4::zyyx | ( | ) | const |
Vector4 G3D::Vector4::zyyy | ( | ) | const |
Vector4 G3D::Vector4::zyyz | ( | ) | const |
Vector3 G3D::Vector4::zyz | ( | ) | const |
Vector4 G3D::Vector4::zyzw | ( | ) | const |
Vector4 G3D::Vector4::zyzx | ( | ) | const |
Vector4 G3D::Vector4::zyzy | ( | ) | const |
Vector4 G3D::Vector4::zyzz | ( | ) | const |
Vector2 G3D::Vector4::zz | ( | ) | const |
Vector3 G3D::Vector4::zzw | ( | ) | const |
Vector4 G3D::Vector4::zzww | ( | ) | const |
Vector4 G3D::Vector4::zzwx | ( | ) | const |
Vector4 G3D::Vector4::zzwy | ( | ) | const |
Vector4 G3D::Vector4::zzwz | ( | ) | const |
Vector3 G3D::Vector4::zzx | ( | ) | const |
Vector4 G3D::Vector4::zzxw | ( | ) | const |
Vector4 G3D::Vector4::zzxx | ( | ) | const |
Vector4 G3D::Vector4::zzxy | ( | ) | const |
Vector4 G3D::Vector4::zzxz | ( | ) | const |
Vector3 G3D::Vector4::zzy | ( | ) | const |
Vector4 G3D::Vector4::zzyw | ( | ) | const |
Vector4 G3D::Vector4::zzyx | ( | ) | const |
Vector4 G3D::Vector4::zzyy | ( | ) | const |
Vector4 G3D::Vector4::zzyz | ( | ) | const |
Vector3 G3D::Vector4::zzz | ( | ) | const |
Vector4 G3D::Vector4::zzzw | ( | ) | const |
Vector4 G3D::Vector4::zzzx | ( | ) | const |
Vector4 G3D::Vector4::zzzy | ( | ) | const |
Vector4 G3D::Vector4::zzzz | ( | ) | const |
float G3D::Vector4::w |
float G3D::Vector4::x |
float G3D::Vector4::y |
float G3D::Vector4::z |