From 2877f4eda3d1b0c7431039e3142ecf1a282a34b1 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Tue, 21 Aug 2018 20:40:38 +0500 Subject: Update glm to 0.9.9.0 --- external/include/glm/gtx/log_base.inl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'external/include/glm/gtx/log_base.inl') 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 - GLM_FUNC_QUALIFIER genType log(genType const & x, genType const & base) + template + GLM_FUNC_QUALIFIER genType log(genType const& x, genType const& base) { - assert(x != genType(0)); + assert(!detail::compute_equal::call(x, static_cast(0))); return glm::log(x) / glm::log(base); } - template class vecType> - GLM_FUNC_QUALIFIER vecType log(vecType const & x, vecType const & base) + template + GLM_FUNC_QUALIFIER vec log(vec const& x, vec const& base) { return glm::log(x) / glm::log(base); } -- cgit v1.2.3