Large worlds · function
cellCoord
The grid coordinate a world coordinate falls in.
Explained in Coordinates and units.
function cellCoord(value: number, size: number): numberimport { cellCoord } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
value | number | |
size | number |