Skip to content

shapeBounds beta ​

Function of @v12-engine/engine

ts
export declare function shapeBounds(shape: AreaShape): {
    x0: number;
    z0: number;
    x1: number;
    z1: number;
};

The box round a shape: its least and greatest x and z on the map