Closed FrancoisChabot closed 6 years ago
This will pass on GCC, but fail on clang / MSVC
TEST_CASE("angle_axis_constexp", "[quat]") { using fQuat = vecpp::Quat<float>; constexpr fQuat r_x = fQuat::angle_axis(fAngle::from_deg(90.0f), {1.0f, 0.0f, 0.0f}); }
Quickly going into the weeds here.
I think the best approach will be to implementsin(Angle<T>) and friends using Chebyshev polynomials.
sin(Angle<T>)
This will pass on GCC, but fail on clang / MSVC