liberty-engine ~master (2019-02-13T12:42:06Z)
Dub
Repo
isPowerOf2
liberty
math
functions
* Returns true of i is a power of 2.
bool
isPowerOf2
(
T
)
(
T
i
)
if
(
isIntegral
!
T
)
Meta
Source
See Implementation
liberty
math
functions
functions
barryCentric
clamp
degrees
fract
ilog2
inverseSqrt
isPowerOf2
lerp
lfloor
ltrunc
moduloWrap
nextPowerOf2
radians
safeAcos
safeAsin
sinOverX
smoothStep
step
* Returns true of i is a power of 2.