|
API Documentation
|
|
|
33 Matrix (
float m00,
float m01,
float m10,
float m11) noexcept ;
50 Matrix (
float m00,
float m01,
float m02,
float m10,
float m11,
float m12,
float m20,
float m21,
float m22) noexcept ;
73 Matrix (
float m00,
float m01,
float m02,
float m03,
float m10,
float m11,
float m12,
float m13,
float m20,
float m21,
float m22,
float m23,
float m30,
float m31,
float m32,
float m33) noexcept ;
122 float get (
unsigned int row,
unsigned int col) const ;
134 Matrix&
set (
float val,
unsigned int row,
unsigned int col) ;
400 void operator*= (
float scalar) ;
413 void operator/= (
float scalar) ;
float getTraceMat4() const
Matrix & fromString(nkMemory::StringView str)
Matrix & setToPerspectiveMatrix(float fov, float aspect, float nearVal, float farVal)
nkMemory::String toString() const
float getTraceMat2() const
Matrix getInverseMat3() const
Matrix getInverseMat4() const
Matrix & setOrientationComponent(const Quaternion &rot)
Encompasses all API of component NilkinsMaths.
Definition: IntVector.h:7
A quaternion, symbolizing rotations as a 4D vector.
Definition: Quaternion.h:14
Matrix & setScaleComponent(const Vector &scale)
float getTraceMat3() const
float _m[4][4]
The matrix memory, considered in row-major order (_m[row][col]).
Definition: Matrix.h:418
Represents a 4x4 float matrix.
Definition: Matrix.h:14
Vector getScaleComponent() const
Matrix & setToViewMatrixDirection(const Vector &position, const Vector &direction, const Vector &upDirection)
float getDeterminantMat3() const
Matrix & setPositionComponent(const Vector &position)
float getDeterminantMat4() const
Matrix & setToOrthographicMatrix(float widthNearPlane, float heightNearPlane, float nearVal, float farVal)
float getDeterminantMat2() const
void getDecomposed(Vector &position, Matrix &orientation, Vector &scale) const
Matrix & setToTransformation(const Vector &position, const Quaternion &orientation, const Vector &scale)
Matrix getOrientationComponent() const
Vector getPositionComponent() const
A 4-component vector class, with floats.
Definition: Vector.h:12
float get(unsigned int row, unsigned int col) const
Matrix getTranspose() const
Matrix & set(float val, unsigned int row, unsigned int col)
Matrix getInverseMat2() const
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7