src/basics.h

changeset 1433
bd3a9e237ef5
parent 1431
2e0e2c696605
child 1437
1a77c6156db7
child 1440
265b2e95a8e8
equal deleted inserted replaced
1432:4cc687851fbb 1433:bd3a9e237ef5
102 matrix(0, 3) += vector.x(); 102 matrix(0, 3) += vector.x();
103 matrix(1, 3) += vector.y(); 103 matrix(1, 3) += vector.y();
104 matrix(2, 3) += vector.z(); 104 matrix(2, 3) += vector.z();
105 } 105 }
106 106
107 template<typename... Ts>
108 inline void ignore(Ts&&...) {}
109
107 qreal determinant(qreal a, qreal b, qreal c, qreal d); 110 qreal determinant(qreal a, qreal b, qreal c, qreal d);
108 qreal determinant(qreal a, qreal b, qreal c, qreal d, qreal e, qreal f, qreal g, qreal h, qreal i); 111 qreal determinant(qreal a, qreal b, qreal c, qreal d, qreal e, qreal f, qreal g, qreal h, qreal i);
109 qreal determinant(const QMatrix2x2& matrix); 112 qreal determinant(const QMatrix2x2& matrix);
110 qreal determinant(const QMatrix3x3& matrix); 113 qreal determinant(const QMatrix3x3& matrix);
111 qreal determinant(const QMatrix4x4& matrix); 114 qreal determinant(const QMatrix4x4& matrix);

mercurial