const void QuaternionManipulator::qPrintAngleAxis(const std::string& s, const Quaternion& q) { std::cout << s << " = "; float thetaf; Vector axis_f; qToAngleAxis(q, thetaf, axis_f); std::cout << "angle = " << thetaf << " "; vPrint("axis", axis_f); }
void Quaternions::qPrintAngleAxis(const std::string& s, const Quaternions& q) { std::cout << s << " = [" << std::endl; float thetaf; Vector4D axis_f; qToAngleAxis(q, thetaf, axis_f); std::cout << " angle = " << thetaf << std::endl; std::cout << axis_f << std::endl; std::cout << "]" << std::endl; }