UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

10 lines 386 B
/** * method to separate bits from a given integer 2 positions apart * * @example when input is ABC, output bits are 0A0B0C * @see https://github.com/Forceflow/libmorton/blob/234a443ca8e2c64f6385f1a9d6ee10a70d08a3fa/include/libmorton/morton2D.h#L99 * @param {number} a * @returns {number} */ export function split_by_2(a: number): number; //# sourceMappingURL=split_by_2.d.ts.map