SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ Matrix43() [4/4]

SRL::Math::Types::Matrix43::Matrix43 ( const Vector3D & row0,
const Vector3D & row1,
const Vector3D & row2,
const Vector3D & row3 )
inlineconstexpr

Creates matrix from individual row vectors.

This constructor initializes a 4x3 matrix using individual row vectors. Each row vector defines a direction in world space, allowing for flexible matrix creation based on specific row definitions.

Parameters
row0The right vector, representing the first row of the matrix.
row1The up vector, representing the second row of the matrix.
row2The forward vector, representing the third row of the matrix.
row3The translation vector, representing the position of the transformation in world space.
Note
This constructor is useful when the individual row vectors are known and need to be combined into a matrix.