mirror of
https://github.com/g-truc/glm.git
synced 2024-11-09 20:21:47 +00:00
Fix log2 func. qualifier
This commit is contained in:
parent
4137519418
commit
0904870e37
@ -14,7 +14,7 @@ namespace detail
|
||||
using std::log2;
|
||||
# else
|
||||
template<typename genType>
|
||||
genType log2(genType Value)
|
||||
GLM_FUNC_QUALIFIER genType log2(genType Value)
|
||||
{
|
||||
return std::log(Value) * static_cast<genType>(1.4426950408889634073599246810019);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user