Closed blenk13 closed 11 months ago
CartGrid already has a findRectNearest function for finding the nearest grid location to a supplied 2D (x, y) coordinate. This PR adds a similar function that is faster and simpler for use solely with rectangular grids.
CartGrid already has a findRectNearest function for finding the nearest grid location to a supplied 2D (x, y) coordinate. This PR adds a similar function that is faster and simpler for use solely with rectangular grids.