Fix log2 func. qualifier

This commit is contained in:
Tom Kneiphof 2024-04-03 21:58:27 +02:00 committed by Christophe
parent 4137519418
commit 0904870e37

View File

@ -14,7 +14,7 @@ namespace detail
using std::log2; using std::log2;
# else # else
template<typename genType> template<typename genType>
genType log2(genType Value) GLM_FUNC_QUALIFIER genType log2(genType Value)
{ {
return std::log(Value) * static_cast<genType>(1.4426950408889634073599246810019); return std::log(Value) * static_cast<genType>(1.4426950408889634073599246810019);
} }