UNPKG

@spearwolf/twopoint5d

Version:

a library to create 2.5d realtime graphics and pixelart with three.js

2 lines 103 B
export const isPowerOf2 = (n) => n !== 0 && (n & (n - 1)) === 0; //# sourceMappingURL=isPowerOf2.js.map