five-on-it / apps/client/src/ui/minimap-data / mapProjection
Function: mapProjection()
mapProjection(
half,size):Projection
Defined in: apps/client/src/ui/minimap-data.ts:204
Where the world lands on a square map size pixels wide showing [-half, half] on both axes, north up like the camera (which looks along +z in a right-handed world: +x is to the left): k pixels per metre, the pixel of an x and of a z, and back.
Parameters
half
number
size
number