UNPKG

@spearwolf/twopoint5d

Version:

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

7 lines 152 B
export const findNextPowerOf2 = (x) => { let p = 1; while (x > p) p <<= 1; return p; }; //# sourceMappingURL=findNextPowerOf2.js.map