Tentative of fixing bug #13, nextafter on Intel compiler

This commit is contained in:
Christophe Riccio 2012-12-07 11:22:13 +01:00
parent 753d5db251
commit 7e0288359f
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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