16 static_assert(std::is_same_v<GLfloat, value_type>);
20 using matrix4x4f::matrix4x4f;
30 explicit Matrix(
const QMatrix4x4& matrix);
35 explicit Matrix(
const Matrix44& matrix);
41 operator const float*()
const;
59 operator QMatrix4x4()
const;
64 operator Matrix44()
const;
A 4x4 matrix class used in arrays and has layout of 16x GLfloat.
Definition Matrix.h:15
Matrix(const QMatrix4x4 &matrix)
Constructor for Qt QMatrix4x4.
Matrix & operator=(const QMatrix4x4 &matrix)
Assignment operator accepting a QMatrix4x4 instance.
Matrix(const Matrix44 &matrix)
Constructor for Qt QMatrix4x4.
bool isZero() const
Checks if the 'w' value is non-zero.
Matrix & operator=(const Matrix44 &matrix)
Assignment operator accepting a #Matrix44 instance.
Matrix()
Default constructor initializing with a black color.
Definition DemoRenderer.h:6
std::array< GLfloat, 16 > matrix4x4f
Type which correspond with a GLSL type and used to implement Vertex structures.
Definition Types.h:13
#define _XGL_CLASS
Definition xgl/global.h:35