23 #include <boost/operators.hpp>
55 private boost::additive<Quat>,
56 private boost::multiplicative<Quat, Real>,
57 private boost::multiplicative<Quat,Quat>
Quat & operator*=(const Quat &q)
Quat & operator/=(Real s)
Vec3 Rotate(const Vec3 &vec) const
Quat & operator*=(Real s)
Quat(Real w, Real x, Real y, Real z)
bool operator==(const Quat &q) const
bool operator!=(const Quat &q) const
Quat & operator+=(const Quat &q)
Quat & operator/=(const Quat &q)
Quat & operator-=(const Quat &q)
Mat3 ToRotationMatrix() const
Quat(Real angle, const geom::Vec3 &axis)
Three dimensional vector class, using Real precision.
#define DLLEXPORT_OST_GEOM
Quat DLLEXPORT_OST_GEOM Conjugate(const Quat &q)
Quat DLLEXPORT_OST_GEOM Normalize(const Quat &q)
Quat DLLEXPORT_OST_GEOM Exp(const Quat &q)
Quat DLLEXPORT_OST_GEOM Inv(const Quat &q)
Real DLLEXPORT_OST_GEOM Dot(const Quat &q0, const Quat &q1)
Quat DLLEXPORT_OST_GEOM Slerp(const Quat &q0, const Quat &q1, Real t)
std::ostream & operator<<(std::ostream &os, const AlignedCuboid &c)
Quat DLLEXPORT_OST_GEOM Log(const Quat &q)
bool DLLEXPORT_OST_GEOM operator==(const Line2 &l1, const Line2 &l2)