add class Matrix4 commentary

This commit is contained in:
Garux 2017-11-27 14:05:09 +03:00
parent 4b5390e6cf
commit e7b4a4fad2

View File

@ -28,6 +28,13 @@
#include "math/vector.h" #include "math/vector.h"
/// \brief A 4x4 matrix stored in single-precision floating-point. /// \brief A 4x4 matrix stored in single-precision floating-point.
/// column-major matrix!
/// translation lives in [12], [13], [14] (.t())
/// [0] [4] [8] [12]
/// [1] [5] [9] [13]
/// [2] [6] [10] [14]
/// [3] [7] [11] [15]
class Matrix4 class Matrix4
{ {
float m_elements[16]; float m_elements[16];