summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/log_base.inl
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/gtx/log_base.inl')
-rw-r--r--external/include/glm/gtx/log_base.inl10
1 files changed, 5 insertions, 5 deletions
diff --git a/external/include/glm/gtx/log_base.inl b/external/include/glm/gtx/log_base.inl
index 8005d1b..981bacc 100644
--- a/external/include/glm/gtx/log_base.inl
+++ b/external/include/glm/gtx/log_base.inl
@@ -3,15 +3,15 @@
namespace glm
{
- template <typename genType>
- GLM_FUNC_QUALIFIER genType log(genType const & x, genType const & base)
+ template<typename genType>
+ GLM_FUNC_QUALIFIER genType log(genType const& x, genType const& base)
{
- assert(x != genType(0));
+ assert(!detail::compute_equal<genType>::call(x, static_cast<genType>(0)));
return glm::log(x) / glm::log(base);
}
- template <typename T, precision P, template <typename, precision> class vecType>
- GLM_FUNC_QUALIFIER vecType<T, P> log(vecType<T, P> const & x, vecType<T, P> const & base)
+ template<length_t L, typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER vec<L, T, Q> log(vec<L, T, Q> const& x, vec<L, T, Q> const& base)
{
return glm::log(x) / glm::log(base);
}