#include <TVector3.h>
Public Member Functions | |
constexpr | TVector3 ()=default |
constexpr | TVector3 (TFLOAT x, TFLOAT y, TFLOAT z) |
constexpr | TVector3 (TFLOAT floats[3]) |
constexpr | TVector3 (const TVector3 &other) |
void | Clip (TFLOAT fVal, TFLOAT fVal2) |
void | CrossProduct (const TVector3 &, const TVector3 &) |
void | RotateX (TFLOAT a_fRotation) |
void | RotateY (TFLOAT a_fRotation) |
void | RotateZ (TFLOAT a_fRotation) |
void | Normalize () |
constexpr void | Set (const TVector3 &vec) |
constexpr void | Set (TFLOAT floats[3]) |
constexpr void | Set (TFLOAT x, TFLOAT y, TFLOAT z) |
constexpr void | Lerp (const TVector3 &finish, float t) |
constexpr void | Lerp (const TVector3 &start, const TVector3 &finish, float t) |
constexpr void | Add (const TVector3 &vec) |
constexpr void | Add (const TVector3 &a, const TVector3 &b) |
constexpr void | Divide (const TVector3 &vec) |
constexpr void | Divide (TFLOAT scalar) |
constexpr void | Divide (const TVector3 &vec1, const TVector3 &vec2) |
constexpr void | Divide (const TVector3 &vec, TFLOAT scalar) |
constexpr void | Multiply (const TVector3 &vec) |
constexpr void | Multiply (TFLOAT scalar) |
constexpr void | Multiply (const TVector3 &vec1, const TVector3 &vec2) |
constexpr void | Multiply (const TVector3 &vec, TFLOAT scalar) |
void | Abs (const TVector3 &vec3) |
void | Abs () |
TFLOAT | Magnitude () const |
constexpr TFLOAT | MagnitudeSq () const |
constexpr TVector3 | operator+ (const TVector3 &other) const |
constexpr TVector3 | operator- (const TVector3 &other) const |
constexpr TVector3 | operator* (const TVector3 &other) const |
constexpr TVector3 | operator/ (const TVector3 &other) const |
constexpr void | operator= (const TVector3 &other) |
constexpr void | operator+= (const TVector3 &other) |
constexpr void | operator/= (const TVector3 &other) |
Static Public Member Functions | |
static TFLOAT | Distance (const TVector3 &vec1, const TVector3 &vec2) |
static constexpr TFLOAT | DistanceSq (const TVector3 &vec1, const TVector3 &vec2) |
static constexpr TFLOAT | DotProduct (const TVector3 &vec1, const TVector3 &vec2) |
Public Attributes | |
TFLOAT | x |
TFLOAT | y |
TFLOAT | z |
Static Public Attributes | |
static constinit const TVector3 | VEC_ZERO = TVector3( 0, 0, 0 ) |
static constinit const TVector3 | VEC_POSX = TVector3( 1, 0, 0 ) |
static constinit const TVector3 | VEC_POSY = TVector3( 0, 1, 0 ) |
static constinit const TVector3 | VEC_POSZ = TVector3( 0, 0, 1 ) |
static constinit const TVector3 | VEC_NEGX = TVector3( -1, 0, 0 ) |
static constinit const TVector3 | VEC_NEGY = TVector3( 0, -1, 0 ) |
static constinit const TVector3 | VEC_NEGZ = TVector3( 0, 0, -1 ) |
static constinit const TVector3 | VEC_NEGXPOSZ = TVector3( -TMath::ONEOVER_SQRT_TWO, 0, TMath::ONEOVER_SQRT_TWO ) |
static constinit const TVector3 | VEC_NEGXNEGZ = TVector3( -TMath::ONEOVER_SQRT_TWO, 0, -TMath::ONEOVER_SQRT_TWO ) |
static constinit const TVector3 | VEC_POSXPOSZ = TVector3( TMath::ONEOVER_SQRT_TWO, 0, TMath::ONEOVER_SQRT_TWO ) |
static constinit const TVector3 | VEC_POSXNEGZ = TVector3( TMath::ONEOVER_SQRT_TWO, 0, -TMath::ONEOVER_SQRT_TWO ) |
Definition at line 16 of file TVector3.h.
|
constexprdefault |
Definition at line 20 of file TVector3.h.
|
inlineconstexpr |
Definition at line 21 of file TVector3.h.
|
inlineconstexpr |
|
inline |
Definition at line 129 of file TVector3.h.
|
inline |
Definition at line 128 of file TVector3.h.
Definition at line 72 of file TVector3.h.
|
inlineconstexpr |
Definition at line 18 of file TVector3.cpp.
Definition at line 145 of file TVector3.h.
|
inlinestaticconstexpr |
Definition at line 146 of file TVector3.h.
|
inlineconstexpr |
Definition at line 97 of file TVector3.h.
Definition at line 92 of file TVector3.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 53 of file TVector3.h.
Definition at line 56 of file TVector3.h.
|
inline |
Definition at line 132 of file TVector3.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 122 of file TVector3.h.
Definition at line 117 of file TVector3.h.
|
inlineconstexpr |
Definition at line 110 of file TVector3.h.
void TVector3::Normalize | ( | ) |
Definition at line 71 of file TVector3.cpp.
|
inlineconstexpr |
Definition at line 141 of file TVector3.h.
|
inlineconstexpr |
Definition at line 142 of file TVector3.h.
|
inlineconstexpr |
Definition at line 140 of file TVector3.h.
void TVector3::RotateX | ( | TFLOAT | a_fRotation | ) |
Definition at line 34 of file TVector3.cpp.
void TVector3::RotateY | ( | TFLOAT | a_fRotation | ) |
void TVector3::RotateZ | ( | TFLOAT | a_fRotation | ) |
|
inlineconstexpr |
Definition at line 33 of file TVector3.h.
|
inlineconstexpr |
Definition at line 39 of file TVector3.h.
Definition at line 45 of file TVector3.h.
Definition at line 154 of file TVector3.h.
|
staticconstinit |
Definition at line 158 of file TVector3.h.
|
staticconstinit |
Definition at line 157 of file TVector3.h.
Definition at line 155 of file TVector3.h.
Definition at line 156 of file TVector3.h.
Definition at line 151 of file TVector3.h.
|
staticconstinit |
Definition at line 160 of file TVector3.h.
|
staticconstinit |
Definition at line 159 of file TVector3.h.
Definition at line 152 of file TVector3.h.
Definition at line 153 of file TVector3.h.
Definition at line 150 of file TVector3.h.
TFLOAT TVector3::x |
Definition at line 163 of file TVector3.h.
TFLOAT TVector3::y |
Definition at line 163 of file TVector3.h.
TFLOAT TVector3::z |
Definition at line 163 of file TVector3.h.