Home
last modified time | relevance | path

Searched refs:m_angles (Results 1 – 1 of 1) sorted by relevance

/external/eigen/demos/opengl/
Dquaternion_demo.cpp146 Vector3 m_angles; member in EulerAngles
151 inline EulerAngles(Scalar a0, Scalar a1, Scalar a2) : m_angles(a0, a1, a2) {} in EulerAngles()
154 const Vector3& coeffs() const { return m_angles; } in coeffs()
155 Vector3& coeffs() { return m_angles; } in coeffs()
168 m_angles.coeffRef(1) = std::asin(m.coeff(0,2)); in operator =()
169 m_angles.coeffRef(0) = std::atan2(-m.coeff(1,2),m.coeff(2,2)); in operator =()
170 m_angles.coeffRef(2) = std::atan2(-m.coeff(0,1),m.coeff(0,0)); in operator =()
176 Vector3 c = m_angles.array().cos(); in toRotationMatrix()
177 Vector3 s = m_angles.array().sin(); in toRotationMatrix()