summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/compatibility.inl
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/gtx/compatibility.inl')
-rw-r--r--external/include/glm/gtx/compatibility.inl36
1 files changed, 18 insertions, 18 deletions
diff --git a/external/include/glm/gtx/compatibility.inl b/external/include/glm/gtx/compatibility.inl
index 368527a..11affa1 100644
--- a/external/include/glm/gtx/compatibility.inl
+++ b/external/include/glm/gtx/compatibility.inl
@@ -6,9 +6,9 @@
namespace glm
{
// isfinite
- template <typename genType>
+ template<typename genType>
GLM_FUNC_QUALIFIER bool isfinite(
- genType const & x)
+ genType const& x)
{
# if GLM_HAS_CXX11_STL
return std::isfinite(x) != 0;
@@ -24,38 +24,38 @@ namespace glm
# endif
}
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tvec1<bool, P> isfinite(
- tvec1<T, P> const & x)
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER vec<1, bool, Q> isfinite(
+ vec<1, T, Q> const& x)
{
- return tvec1<bool, P>(
+ return vec<1, bool, Q>(
isfinite(x.x));
}
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tvec2<bool, P> isfinite(
- tvec2<T, P> const & x)
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER vec<2, bool, Q> isfinite(
+ vec<2, T, Q> const& x)
{
- return tvec2<bool, P>(
+ return vec<2, bool, Q>(
isfinite(x.x),
isfinite(x.y));
}
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tvec3<bool, P> isfinite(
- tvec3<T, P> const & x)
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER vec<3, bool, Q> isfinite(
+ vec<3, T, Q> const& x)
{
- return tvec3<bool, P>(
+ return vec<3, bool, Q>(
isfinite(x.x),
isfinite(x.y),
isfinite(x.z));
}
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tvec4<bool, P> isfinite(
- tvec4<T, P> const & x)
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER vec<4, bool, Q> isfinite(
+ vec<4, T, Q> const& x)
{
- return tvec4<bool, P>(
+ return vec<4, bool, Q>(
isfinite(x.x),
isfinite(x.y),
isfinite(x.z),