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/bit.inl | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'external/include/glm/gtx/bit.inl') diff --git a/external/include/glm/gtx/bit.inl b/external/include/glm/gtx/bit.inl index 10d5f7f..277aeaa 100644 --- a/external/include/glm/gtx/bit.inl +++ b/external/include/glm/gtx/bit.inl @@ -6,7 +6,7 @@ namespace glm /////////////////// // highestBitValue - template + template GLM_FUNC_QUALIFIER genIUType highestBitValue(genIUType Value) { genIUType tmp = Value; @@ -19,61 +19,61 @@ namespace glm return result; } - template class vecType> - GLM_FUNC_QUALIFIER vecType highestBitValue(vecType const & v) + template + GLM_FUNC_QUALIFIER vec highestBitValue(vec const& v) { - return detail::functor1::call(highestBitValue, v); + return detail::functor1::call(highestBitValue, v); } /////////////////// // lowestBitValue - template + template GLM_FUNC_QUALIFIER genIUType lowestBitValue(genIUType Value) { return (Value & (~Value + 1)); } - template class vecType> - GLM_FUNC_QUALIFIER vecType lowestBitValue(vecType const & v) + template + GLM_FUNC_QUALIFIER vec lowestBitValue(vec const& v) { - return detail::functor1::call(lowestBitValue, v); + return detail::functor1::call(lowestBitValue, v); } /////////////////// // powerOfTwoAbove - template + template GLM_FUNC_QUALIFIER genType powerOfTwoAbove(genType value) { return isPowerOfTwo(value) ? value : highestBitValue(value) << 1; } - template class vecType> - GLM_FUNC_QUALIFIER vecType powerOfTwoAbove(vecType const & v) + template + GLM_FUNC_QUALIFIER vec powerOfTwoAbove(vec const& v) { - return detail::functor1::call(powerOfTwoAbove, v); + return detail::functor1::call(powerOfTwoAbove, v); } /////////////////// // powerOfTwoBelow - template + template GLM_FUNC_QUALIFIER genType powerOfTwoBelow(genType value) { return isPowerOfTwo(value) ? value : highestBitValue(value); } - template class vecType> - GLM_FUNC_QUALIFIER vecType powerOfTwoBelow(vecType const & v) + template + GLM_FUNC_QUALIFIER vec powerOfTwoBelow(vec const& v) { - return detail::functor1::call(powerOfTwoBelow, v); + return detail::functor1::call(powerOfTwoBelow, v); } ///////////////////// // powerOfTwoNearest - template + template GLM_FUNC_QUALIFIER genType powerOfTwoNearest(genType value) { if(isPowerOfTwo(value)) @@ -84,10 +84,10 @@ namespace glm return (next - value) < (value - prev) ? next : prev; } - template class vecType> - GLM_FUNC_QUALIFIER vecType powerOfTwoNearest(vecType const & v) + template + GLM_FUNC_QUALIFIER vec powerOfTwoNearest(vec const& v) { - return detail::functor1::call(powerOfTwoNearest, v); + return detail::functor1::call(powerOfTwoNearest, v); } }//namespace glm -- cgit v1.2.3