mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
Tentative of fixing bug #13, nextafter on Intel compiler
This commit is contained in:
parent
753d5db251
commit
7e0288359f
@ -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…
Reference in New Issue
Block a user