src/basics.h

changeset 1390
3eace926af7f
parent 1389
3fb8ad4d27b1
child 1404
16eb4257e662
--- a/src/basics.h	Sat May 26 17:28:15 2018 +0300
+++ b/src/basics.h	Wed May 30 22:31:06 2018 +0300
@@ -89,6 +89,11 @@
 	return vector.length();
 }
 
+qreal determinant(qreal a, qreal b, qreal c, qreal d);
+qreal determinant(qreal a, qreal b, qreal c, qreal d, qreal e, qreal f, qreal g, qreal h, qreal i);
+qreal determinant(const QMatrix2x2& matrix);
+qreal determinant(const QMatrix3x3& matrix);
+qreal determinant(const QMatrix4x4& matrix);
 QString formatFileSize(qint64 size);
 int gcd(int a, int b);
 QString joinStrings(const QList<class StringFormatArg>& values, QString delimeter = " ");
@@ -100,4 +105,5 @@
 QString superscript(int number);
 QString subscript(int number);
 QString fractionRep(int numerator, int denominator);
+qreal vectorAngle(const QVector3D& vec_1, const QVector3D& vec_2);
 void withSignalsBlocked(QObject* object, std::function<void()> function);

mercurial