isPowerOfTwo method
Implementation
bool isPowerOfTwo(image) {
return MathUtils.isPowerOfTwo(image.width.toInt()) &&
MathUtils.isPowerOfTwo(image.height.toInt());
}
bool isPowerOfTwo(image) {
return MathUtils.isPowerOfTwo(image.width.toInt()) &&
MathUtils.isPowerOfTwo(image.height.toInt());
}