#include <TVector4.h>
Public Member Functions | |
constexpr | TVector4 ()=default |
constexpr | TVector4 (TFLOAT a_fX, TFLOAT a_fY, TFLOAT a_fZ, TFLOAT a_fW=1.0f) |
constexpr | TVector4 (TFLOAT a_pFloats[4]) |
constexpr | TVector4 (const TVector3 &a_rcOther) |
constexpr | TVector4 (const TVector4 &a_rcOther) |
constexpr void | Set (const TVector3 &vec) |
constexpr void | Set (const TVector4 &vec) |
constexpr void | Set (TFLOAT floats[4]) |
constexpr void | Set (TFLOAT x, TFLOAT y, TFLOAT z, TFLOAT w) |
TFLOAT | NormaliseMag () |
void | Normalise () |
void | Normalise4 () |
constexpr TBOOL | isNormalised (TFLOAT fVal=0.05f) const |
void | ProjectNormalToPlane (const TVector4 &vec, const TVector4 &vec2) |
constexpr void | Add (const TVector3 &vec) |
constexpr void | Add (const TVector4 &vec) |
constexpr void | Add4 (const TVector4 &vec) |
constexpr void | Add (const TVector4 &a, const TVector4 &b) |
constexpr void | Add4 (const TVector4 &a, const TVector4 &b) |
constexpr void | Substract4 (const TVector4 &vec) |
constexpr void | Substract (const TVector4 &vec) |
constexpr void | Substract (const TVector4 &a, const TVector4 &b) |
constexpr void | Substract4 (const TVector4 &a, const TVector4 &b) |
constexpr void | Divide (const TVector4 &vec) |
constexpr void | Divide (TFLOAT scalar) |
constexpr void | Divide4 (TFLOAT scalar) |
constexpr void | Divide (const TVector4 &vec1, const TVector4 &vec2) |
constexpr void | Divide (const TVector4 &vec, TFLOAT scalar) |
constexpr void | Multiply (const TVector4 &vec) |
constexpr void | Multiply (TFLOAT scalar) |
constexpr void | Multiply (const TVector4 &vec, TFLOAT scalar) |
constexpr void | Multiply4 (const TVector4 &vec) |
constexpr void | Multiply4 (TFLOAT scalar) |
constexpr void | Multiply4 (const TVector4 &vec, TFLOAT scalar) |
void | Cos (const TVector4 &vec) |
void | CrossProduct (const TVector4 &vec1, const TVector4 &vec2) |
constexpr void | Lerp3 (const TVector4 &finish, TFLOAT t) |
constexpr void | Lerp3 (const TVector4 &start, const TVector4 &finish, TFLOAT t) |
constexpr void | Lerp4 (const TVector4 &finish, TFLOAT t) |
constexpr void | Lerp4 (const TVector4 &start, const TVector4 &finish, TFLOAT t) |
constexpr double | GetScalarProjectionOnUnit (const TVector4 &vec) |
void | Abs (const TVector4 &vec4) |
void | Abs () |
constexpr void | Negate (const TVector4 &vec) |
constexpr void | Negate () |
constexpr void | Negate3 (const TVector4 &vec) |
constexpr void | Negate3 () |
constexpr void | Negate4 (const TVector4 &vec) |
constexpr void | Negate4 () |
TFLOAT | Magnitude () const |
TFLOAT | Magnitude4 () const |
constexpr TFLOAT | MagnitudeSq () const |
constexpr TFLOAT | MagnitudeSq4 () const |
TFLOAT | MagnitudeXZ () const |
constexpr TFLOAT | MagnitudeSqXZ () const |
constexpr TBOOL | IsEqual (const TVector4 &a_rcVec) const |
constexpr TVector4 | operator+ (const TVector3 &other) const |
constexpr TVector4 | operator- (const TVector3 &other) const |
constexpr TVector4 | operator* (const TVector3 &other) const |
constexpr TVector4 | operator/ (const TVector3 &other) const |
constexpr TVector4 | operator+ (const TVector4 &other) const |
constexpr TVector4 | operator- (const TVector4 &other) const |
constexpr TVector4 | operator* (const TVector4 &other) const |
constexpr TVector4 | operator/ (const TVector4 &other) const |
void | operator= (const TVector3 &other) |
void | operator= (const TVector4 &other) |
void | operator+= (const TVector4 &other) |
TVector4 & | operator-= (const TVector4 &other) |
void | operator/= (const TVector4 &other) |
void | operator*= (const TVector4 &other) |
void | operator/= (TFLOAT a_fScalar) |
void | operator*= (TFLOAT a_fScalar) |
TFLOAT * | AsArray () |
const TFLOAT * | AsArray () const |
TVector3 & | AsVector3 () |
const TVector3 & | AsVector3 () const |
TVector2 & | AsVector2 () |
const TVector2 & | AsVector2 () const |
TFLOAT constexpr | DotProduct (const TVector4 &vec) const |
TFLOAT constexpr | DotProduct3 (const TVector4 &vec) const |
TFLOAT constexpr | DotProduct4 (const TVector4 &vec) const |
Static Public Member Functions | |
static TFLOAT | Distance (const TVector4 &vec1, const TVector4 &vec2) |
static constexpr TFLOAT | DistanceSq (const TVector4 &vec1, const TVector4 &vec2) |
static TFLOAT | DistanceXZ (const TVector4 &vec1, const TVector4 &vec2) |
static constexpr TFLOAT | DistanceSqXZ (const TVector4 &vec1, const TVector4 &vec2) |
static constexpr TFLOAT | DotProduct (const TVector4 &vec1, const TVector4 &vec2) |
static constexpr TFLOAT | DotProduct3 (const TVector4 &vec1, const TVector4 &vec2) |
static constexpr TFLOAT | DotProduct4 (const TVector4 &vec1, const TVector4 &vec2) |
static void | Swap (TVector4 &a_rVec1, TVector4 &a_rVec2) |
Public Attributes | |
TFLOAT | x |
TFLOAT | y |
TFLOAT | z |
TFLOAT | w |
Static Public Attributes | |
static const constinit TVector4 | VEC_ZERO = TVector4( 0, 0, 0, 1 ) |
static const constinit TVector4 | VEC_POSX = TVector4( 1, 0, 0, 1 ) |
static const constinit TVector4 | VEC_POSY = TVector4( 0, 1, 0, 1 ) |
static const constinit TVector4 | VEC_POSZ = TVector4( 0, 0, 1, 1 ) |
static const constinit TVector4 | VEC_NEGX = TVector4( -1, 0, 0, 1 ) |
static const constinit TVector4 | VEC_NEGY = TVector4( 0, -1, 0, 1 ) |
static const constinit TVector4 | VEC_NEGZ = TVector4( 0, 0, -1, 1 ) |
Definition at line 7 of file TVector4.h.
|
constexprdefault |
Definition at line 11 of file TVector4.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 19 of file TVector4.h.
|
inlineconstexpr |
|
inline |
Definition at line 259 of file TVector4.h.
|
inline |
Definition at line 258 of file TVector4.h.
|
inlineconstexpr |
Definition at line 90 of file TVector4.h.
|
inlineconstexpr |
Definition at line 96 of file TVector4.h.
|
inlineconstexpr |
|
inline |
Definition at line 318 of file TVector4.h.
|
inline |
Definition at line 319 of file TVector4.h.
|
inline |
Definition at line 324 of file TVector4.h.
|
inline |
Definition at line 325 of file TVector4.h.
|
inline |
Definition at line 321 of file TVector4.h.
|
inline |
Definition at line 322 of file TVector4.h.
|
inline |
Definition at line 214 of file TVector4.h.
Definition at line 328 of file TVector4.h.
|
inlinestaticconstexpr |
Definition at line 331 of file TVector4.h.
|
inlinestaticconstexpr |
Definition at line 334 of file TVector4.h.
Definition at line 333 of file TVector4.h.
|
inlineconstexpr |
Definition at line 163 of file TVector4.h.
Definition at line 158 of file TVector4.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 336 of file TVector4.h.
|
inlinestaticconstexpr |
Definition at line 337 of file TVector4.h.
Definition at line 339 of file TVector4.h.
Definition at line 344 of file TVector4.h.
|
inlineconstexpr |
Definition at line 253 of file TVector4.h.
Definition at line 63 of file TVector4.h.
Definition at line 231 of file TVector4.h.
Definition at line 234 of file TVector4.h.
Definition at line 242 of file TVector4.h.
Definition at line 245 of file TVector4.h.
|
inline |
Definition at line 277 of file TVector4.h.
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
Definition at line 281 of file TVector4.h.
|
inlineconstexpr |
Definition at line 186 of file TVector4.h.
|
inlineconstexpr |
Definition at line 178 of file TVector4.h.
|
inlineconstexpr |
Definition at line 208 of file TVector4.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 262 of file TVector4.h.
|
inlineconstexpr |
Definition at line 261 of file TVector4.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
void TVector4::Normalise | ( | ) |
void TVector4::Normalise4 | ( | ) |
Definition at line 64 of file TVector4.cpp.
TFLOAT TVector4::NormaliseMag | ( | ) |
|
inline |
Definition at line 313 of file TVector4.h.
|
inline |
Definition at line 316 of file TVector4.h.
|
inline |
Definition at line 304 of file TVector4.h.
Definition at line 306 of file TVector4.h.
|
inline |
Definition at line 312 of file TVector4.h.
|
inline |
Definition at line 315 of file TVector4.h.
|
inline |
Definition at line 302 of file TVector4.h.
|
inline |
Definition at line 303 of file TVector4.h.
Definition at line 55 of file TVector4.cpp.
|
inlineconstexpr |
Definition at line 27 of file TVector4.h.
|
inlineconstexpr |
Definition at line 36 of file TVector4.h.
|
inlineconstexpr |
Definition at line 44 of file TVector4.h.
Definition at line 52 of file TVector4.h.
Definition at line 118 of file TVector4.h.
|
inlineconstexpr |
Definition at line 124 of file TVector4.h.
|
inlineconstexpr |
Definition at line 350 of file TVector4.h.
Definition at line 362 of file TVector4.h.
Definition at line 363 of file TVector4.h.
Definition at line 364 of file TVector4.h.
Definition at line 359 of file TVector4.h.
Definition at line 360 of file TVector4.h.
Definition at line 361 of file TVector4.h.
Definition at line 358 of file TVector4.h.
TFLOAT TVector4::w |
Definition at line 367 of file TVector4.h.
TFLOAT TVector4::x |
Definition at line 367 of file TVector4.h.
TFLOAT TVector4::y |
Definition at line 367 of file TVector4.h.
TFLOAT TVector4::z |
Definition at line 367 of file TVector4.h.