src/types/matrix.cpp

changeset 1070
292c64cb2a75
parent 1069
220cde0fa2d9
child 1072
9ce9496427f2
equal deleted inserted replaced
1069:220cde0fa2d9 1070:292c64cb2a75
18 18
19 #include "../basics.h" 19 #include "../basics.h"
20 #include "../format.h" 20 #include "../format.h"
21 #include "matrix.h" 21 #include "matrix.h"
22 22
23 const Matrix Matrix::identity {1, 0, 0, 0, 1, 0, 0, 0, 1};
24
23 /* 25 /*
24 * Default-constructor for a matrix 26 * Default-constructor for a matrix
25 */ 27 */
26 Matrix::Matrix() : 28 Matrix::Matrix() :
27 m_values{0} {} 29 m_values{0} {}

mercurial