|
API Documentation
|
|
|
38 Vector (
float x,
float y,
float z) noexcept ;
47 Vector (
float x,
float y,
float z,
float w) noexcept ;
307 void operator*= (
float coeff) ;
333 void operator/= (
float coeff) ;
340 bool operator== (const
Vector& other) const ;
347 bool operator!= (const
Vector& other) const ;
354 bool operator< (const
Vector& other) const ;
361 bool operator<= (const
Vector& other) const ;
368 bool operator> (const
Vector& other) const ;
375 bool operator>= (const
Vector& other) const ;
static float distanceVec3(const Vector &a, const Vector &b)
float getLengthVec4() const
float getDistanceSquaredVec2(const Vector &other) const
static float distanceSquaredVec2(const Vector &a, const Vector &b)
A 4-component vector class, with integers.
Definition: IntVector.h:12
static float distanceVec2(const Vector &a, const Vector &b)
Vector getCrossVec3(const Vector &other) const
Encompasses all API of component NilkinsMaths.
Definition: IntVector.h:7
A quaternion, symbolizing rotations as a 4D vector.
Definition: Quaternion.h:14
float getLengthVec3() const
static float distanceSquaredVec4(const Vector &a, const Vector &b)
float getDistanceVec4(const Vector &other) const
static float dotVec3(const Vector &a, const Vector &b)
float getLengthSquaredVec2() const
static float dotVec4(const Vector &a, const Vector &b)
float _x
X component of the vector.
Definition: Vector.h:465
Represents a 4x4 float matrix.
Definition: Matrix.h:14
float getDistanceVec2(const Vector &other) const
Vector & setAsCrossVec3(const Vector &other)
float getDistanceSquaredVec4(const Vector &other) const
static float distanceSquaredVec3(const Vector &a, const Vector &b)
static Vector crossVec3(const Vector &a, const Vector &b)
nkMemory::String toString() const
float dotProductVec3(const Vector &other) const
float _z
Z component of the vector.
Definition: Vector.h:467
float _w
W component of the vector.
Definition: Vector.h:468
float getLengthSquaredVec3() const
float dotProductVec4(const Vector &other) const
float getDistanceVec3(const Vector &other) const
Vector & fromString(nkMemory::StringView str)
Vector getNormalizedVec2() const
Vector getNormalizedVec3() const
float _y
Y component of the vector.
Definition: Vector.h:466
Vector getNormalizedVec4() const
float getLengthVec2() const
float dotProductVec2(const Vector &other) const
float getLengthSquaredVec4() const
float getDistanceSquaredVec3(const Vector &other) const
A 4-component vector class, with floats.
Definition: Vector.h:12
static float distanceVec4(const Vector &a, const Vector &b)
static float dotVec2(const Vector &a, const Vector &b)
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7