15 #ifndef BORNAGAIN_GUI_BA3D_DEF_H
16 #define BORNAGAIN_GUI_BA3D_DEF_H
18 #if defined(__GNUC__) && !defined(__APPLE__)
19 #pragma GCC diagnostic ignored "-Wswitch-enum"
20 #pragma GCC diagnostic ignored "-Wpadded"
21 #pragma GCC diagnostic ignored "-Wfloat-equal"
39 operator QVector3D()
const;
Vector3D operator*(const Vector3D &v, float f)
Vector3D cross(const Vector3D &v1, const Vector3D &v2)
Vector3D operator-(const Vector3D &v)
Vector3D operator+(const Vector3D &v)
float dot(const Vector3D &v1, const Vector3D &v2)
Vector3D(const Vector3D &)=default
Vector3D normalized() const
Vector3D interpolateTo(const Vector3D &, float) const
VectorRange(Range, Range, Range)