|
API Documentation
|
|
|
30 Quaternion (
float x,
float y,
float z,
float w) noexcept ;
Vector getAsAxisAngle() const
float _z
Z component of the quaternion.
Definition: Quaternion.h:168
Encompasses all API of component NilkinsMaths.
Definition: IntVector.h:7
A quaternion, symbolizing rotations as a 4D vector.
Definition: Quaternion.h:14
Vector & apply(Vector &vector) const
Quaternion & setFromEuler(const Vector &angles)
Represents a 4x4 float matrix.
Definition: Matrix.h:14
float _y
Y component of the quaternion.
Definition: Quaternion.h:167
Quaternion & setFromAxisAngle(const Vector &axis, float angle)
nkMemory::String toString() const
Quaternion & setFromOrientationMatrix(const Matrix &mat)
Quaternion & setFromTransformationMatrix(const Matrix &mat)
Vector transform(const Vector &vector) const
float _x
X component of the quaternion.
Definition: Quaternion.h:166
float _w
W component of the quaternion.
Definition: Quaternion.h:169
Quaternion & fromString(nkMemory::StringView str)
Vector getAsEulerAngles() const
A 4-component vector class, with floats.
Definition: Vector.h:12
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7