UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

17 lines (16 loc) 304 B
/** * * @enum {number} */ export const Transform2GridPositionMode = { /** * Maps to fractional grid position */ Continuous: 0, /** * Maps transform to the lowest grid position on each axis (floor operation) */ Floor: 1, Ceil: 2, Round: 3 };