menu
three_js_math package
documentation
math/math_util.dart
MathUtils
isPowerOfTwo static method
isPowerOfTwo static method
dark_mode
light_mode
isPowerOfTwo
static method
bool
isPowerOfTwo
(
int
value
)
Implementation
static bool isPowerOfTwo(int value) { return (value & (value - 1)) == 0 && value != 0; }
three_js_math package
documentation
math/math_util
MathUtils
isPowerOfTwo static method
MathUtils class