JNGL
Public Member Functions | Public Attributes | List of all members
Mat4 Class Reference

4x4 matrix More...

#include <jngl/Mat4.hpp>

Public Member Functions

 Mat4 ()=default
 creates identity matrix
 
 Mat4 (std::initializer_list< float >)
 construct matrix from row-major array with 16 elements
 

Public Attributes

float data [16] = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 }
 column-major
 

Detailed Description

4x4 matrix

Identical to boost::qvm::mat<float, 4, 4>, but stores the elements column-major in memory

Definition at line 17 of file Mat4.hpp.


The documentation for this class was generated from the following file: