Tile Coord
Constructors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the normalized position for the top-left corner of the tile coordinate.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the normalized coordinate. See normalized for why x uses Math.floorMod while y keeps plain %.
Link copied to clipboard
Folds an out-of-world x back into the primary world copy.