37 auto& transformationsMatrixData = matrix.
getArray();
39 xAxis.
set(transformationsMatrixData[0], transformationsMatrixData[1], transformationsMatrixData[2]);
40 yAxis.
set(transformationsMatrixData[4], transformationsMatrixData[5], transformationsMatrixData[6]);
41 zAxis.
set(transformationsMatrixData[8], transformationsMatrixData[9], transformationsMatrixData[10]);
Simple class to determine if a transform is negative.
Matrix4x4Negative()
Public constructor.
bool isNegative(Matrix4x4 &matrix)
Check if matrix is negative.
array< float, 16 > & getArray() const
Returns array data.
Vector3 & set(float x, float y, float z)
Set up vector.
static float computeDotProduct(const Vector3 &v1, const Vector3 &v2)
Compute the dot product of vector v1 and v2.
static Vector3 computeCrossProduct(const Vector3 &v1, const Vector3 &v2)
Compute the cross product of vector v1 and v2.