mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 10:14:35 +00:00
Fixed non C++11 build
This commit is contained in:
parent
08b9197c6a
commit
1331e156cb
@ -173,7 +173,7 @@ namespace detail
|
|||||||
template <typename T, precision P, template <typename, precision> class vecType>
|
template <typename T, precision P, template <typename, precision> class vecType>
|
||||||
GLM_FUNC_QUALIFIER vecType<T, P> floor(vecType<T, P> const & x)
|
GLM_FUNC_QUALIFIER vecType<T, P> floor(vecType<T, P> const & x)
|
||||||
{
|
{
|
||||||
return detail::functor1<T, T, P, vecType>::call(::std::floor, x);
|
return detail::functor1<T, T, P, vecType>::call(floor, x);
|
||||||
}
|
}
|
||||||
|
|
||||||
// trunc
|
// trunc
|
||||||
@ -192,7 +192,7 @@ namespace detail
|
|||||||
template <typename T, precision P, template <typename, precision> class vecType>
|
template <typename T, precision P, template <typename, precision> class vecType>
|
||||||
GLM_FUNC_QUALIFIER vecType<T, P> trunc(vecType<T, P> const & x)
|
GLM_FUNC_QUALIFIER vecType<T, P> trunc(vecType<T, P> const & x)
|
||||||
{
|
{
|
||||||
return detail::functor1<T, T, P, vecType>::call(::std::trunc, x);
|
return detail::functor1<T, T, P, vecType>::call(trunc, x);
|
||||||
}
|
}
|
||||||
|
|
||||||
// round
|
// round
|
||||||
@ -269,7 +269,7 @@ namespace detail
|
|||||||
template <typename T, precision P, template <typename, precision> class vecType>
|
template <typename T, precision P, template <typename, precision> class vecType>
|
||||||
GLM_FUNC_QUALIFIER vecType<T, P> ceil(vecType<T, P> const & x)
|
GLM_FUNC_QUALIFIER vecType<T, P> ceil(vecType<T, P> const & x)
|
||||||
{
|
{
|
||||||
return detail::functor1<T, T, P, vecType>::call(::std::ceil, x);
|
return detail::functor1<T, T, P, vecType>::call(ceil, x);
|
||||||
}
|
}
|
||||||
|
|
||||||
// fract
|
// fract
|
||||||
|
Loading…
Reference in New Issue
Block a user