Skip to content

trianglesOf beta ​

Function of @v12-engine/client/hud

ts
export declare function trianglesOf(map: Pick<GameMap, 'doodads'>, triangles: (model: string) => number | undefined): {
    triangles: number;
    unknown: number;
};

The triangles a map's doodads come to at full, from what each model is (triangles, the editor's: a model it has drawn), and how many doodads are of a model it does not know yet: what the generator's density costs to draw