rename three_half_pi() => three_over_two_pi()

master
Mathias Labeyrie ago%!(EXTRA string=11 years)
parent 710e13a8e6
commit b38a8b4e5a
  1. 2
      glm/gtc/constants.hpp
  2. 2
      glm/gtc/constants.inl

@ -89,7 +89,7 @@ namespace glm
/// Return pi / 2 * 3. /// Return pi / 2 * 3.
/// @see gtc_constants /// @see gtc_constants
template <typename genType> template <typename genType>
GLM_FUNC_DECL genType three_half_pi(); GLM_FUNC_DECL genType three_over_two_pi();
/// Return pi / 4. /// Return pi / 4.
/// @see gtc_constants /// @see gtc_constants

@ -73,7 +73,7 @@ namespace glm
} }
template <typename genType> template <typename genType>
GLM_FUNC_QUALIFIER genType three_half_pi() GLM_FUNC_QUALIFIER genType three_over_two_pi()
{ {
return genType(4.71238898038468985769396507491925432); return genType(4.71238898038468985769396507491925432);
} }

Loading…
Cancel
Save