Skip to content

cellsIn beta ​

Function of @v12-engine/engine

ts
export declare function cellsIn(terrain: Pick<Terrain, 'width' | 'depth'>, shape: AreaShape): number[];

The cells of a terrain in a shape, as indices into its layers: the cells whose middle is in it