Tentative of fixing bug #13, nextafter on Intel compiler

master
Christophe Riccio ago%!(EXTRA string=13 years)
parent 753d5db251
commit 7e0288359f
  1. 2
      glm/gtc/matrix_access.hpp
  2. 2
      glm/gtc/ulp.inl

@ -58,7 +58,7 @@ namespace glm
/// Set a specific row to a matrix. /// Set a specific row to a matrix.
/// @see gtc_matrix_access /// @see gtc_matrix_access
template <typename genType> template <typename genType>
genType row( genType row(
genType const & m, genType const & m,
int index, int index,

@ -188,7 +188,7 @@ namespace detail
#pragma warning(pop) #pragma warning(pop)
#if(GLM_COMPILER & GLM_COMPILER_VC || GLM_COMPILER & GLM_COMPILER_INTEL) #if(GLM_COMPILER & GLM_COMPILER_VC)
# define GLM_NEXT_AFTER_FLT(x, toward) glm::detail::nextafterf((x), (toward)) # define GLM_NEXT_AFTER_FLT(x, toward) glm::detail::nextafterf((x), (toward))
# define GLM_NEXT_AFTER_DBL(x, toward) _nextafter((x), (toward)) # define GLM_NEXT_AFTER_DBL(x, toward) _nextafter((x), (toward))
#else #else

Loading…
Cancel
Save