Corrected errors on Xcode C++98 pure related to language extensions accidentially used.

This commit is contained in:
SGrottel
2021-05-10 16:38:38 +02:00
parent b8adc27808
commit 0f5b544d5d
2 changed files with 97 additions and 80 deletions

View File

@@ -70,7 +70,7 @@ namespace glm {
GLM_INLINE T transferSign(T const& v, T const& s)
{
return ((s) >= 0 ? glm::abs(v) : -glm::abs(v));
};
}
template<typename T>
GLM_INLINE T pythag(T const& a, T const& b) {
@@ -86,7 +86,7 @@ namespace glm {
absa /= absb;
absa *= absa;
return absb * glm::sqrt(static_cast<T>(1) + absa);
};
}
}