mod_geo-tp/src/util.cpp

12 lines
162 B
C++
Raw Normal View History

2021-10-22 14:28:54 +02:00
#include "util.h"
QDebug operator<<(QDebug dbg, const Point &p) {
return dbg << p[0] << p[1] << p[2];
}
2021-11-09 22:18:01 +01:00
qreal cotan(const qreal x) {
return 1. / qTan(x);
}