19#define SCL_VEC_XYZW(v) SCL_VEC_XYZ(v), (v).GetW()
29 T X { 0 },
Y { 0 },
Z { 0 },
W { 0 };
162 return X == Other.
X &&
Y == Other.
Y &&
Z == Other.
Z &&
W == Other.
W;
184 return vec4(
X + Other.
X,
Y + Other.
Y,
Z + Other.
Z,
W + Other.
W);
210 return vec4(
X + Scalar,
Y + Scalar,
Z + Scalar,
W + Scalar);
236 return vec4(
X - Other.
X,
Y - Other.
Y,
Z - Other.
Z,
W - Other.
W);
262 return vec4(
X - Scalar,
291 return vec4(
X * Other.
X,
Y * Other.
Y,
Z * Other.
Z,
W * Other.
W);
317 return vec4(
X * Scalar,
346 return vec4(
X / Other.
X,
Y / Other.
Y,
Z / Other.
Z,
W / Other.
W);
372 return vec4(
X / Scalar,
const vec4 operator*(const vec4 &Other) const
const vec4 & operator/=(const vec4 &Other)
const vec4 & operator+=(const vec4 &Other)
const vec4 operator/(float Scalar) const
const vec4 & operator/=(float Scalar)
const vec4 & operator-=(const vec4 &Other)
vec4(const vec3< T > &V, T W)
const vec4 & operator*=(const vec4 &Other)
bool operator==(const vec4 &Other)
static vec4 Max(const vec4 &A, const vec4 &B)
const vec4 & operator-=(float Scalar)
const vec4 operator-() const
static vec4 Min(const vec4 &A, const vec4 &B)
vec4(T X, const vec3< T > &V)
const vec4 operator+(const vec4 &Other) const
const vec4 operator*(float Scalar) const
const vec4 operator+(float Scalar) const
const vec4 operator-(const vec4 &Other) const
const vec4 & operator+=(float Scalar)
static vec4 Rnd(T Min=0, T Max=1)
const vec4 operator/(const vec4 &Other) const
vec4 & operator=(const vec4 &Other)
const vec4 operator-(float Scalar) const
const vec4 & operator*=(float Scalar)
T & operator[](int Index)