Large worlds · function

createCellGrid

Explained in Coordinates and units.

function createCellGrid(size: number, maxCells?: number): CellGrid
import { createCellGrid } from '@driftengine/core';

Parameters

ParameterTypeDescription
sizenumber
maxCells?number