src/basics.h

changeset 1370
c6d5ba08c62c
parent 1352
55fbbd4bdf86
child 1380
bc799b965418
equal deleted inserted replaced
1369:1e2391b78d17 1370:c6d5ba08c62c
76 one = one ^ other; 76 one = one ^ other;
77 return one; 77 return one;
78 } 78 }
79 79
80 static const double pi = 3.14159265358979323846; 80 static const double pi = 3.14159265358979323846;
81 static const double inf = std::numeric_limits<double>::infinity();
81 82
82 /* 83 /*
83 * Returns the norm of a vector. 84 * Returns the norm of a vector.
84 */ 85 */
85 static inline qreal abs(const QVector3D &vector) 86 static inline qreal abs(const QVector3D &vector)

mercurial