52 Eigen::Matrix<GLfloat,3,3> toRotationMatrix();
68 friend std::ostream& operator<<(std::ostream& os,
const Quaternion& q);
data structure reprenseting a Quaternion.
Definition: quaternion.h:9
GLfloat norm() const
Definition: quaternion.cpp:27
Quaternion conjugate() const
Definition: quaternion.cpp:37
void normalize()
Definition: quaternion.cpp:32
GLfloat squaredNorm() const
Definition: quaternion.cpp:22
Quaternion inv() const
Definition: quaternion.cpp:45