Searched refs:cos_theta_over_two (Results 1 – 1 of 1) sorted by relevance
1068 T cos_theta_over_two = std::cos(theta_over_two); in create_quaternion() local1069 return Quaternion<T>(axis * sin_theta_over_two, cos_theta_over_two); in create_quaternion()1132 T cos_theta_over_two = w; in rotation_axis() local1133 rot_axis[4] = (T) std::acos( cos_theta_over_two ) * 2.0f; in rotation_axis()1135 T sin_theta_over_two = (T) sqrt( 1.0 - cos_theta_over_two * cos_theta_over_two ); in rotation_axis()