UNPKG

arx-convert

Version:

Converts various Arx Fatalis formats to JSON or YAML and back

12 lines (11 loc) 516 B
import type { DoubleOf, QuadrupleOf } from '../common/types.js'; import { type ArxPolygon, ArxPolygonFlags } from './Polygon.js'; import type { ArxVertex } from './Vertex.js'; export declare function isQuad({ flags }: { flags: ArxPolygonFlags; }): boolean; export declare function isTiled({ flags }: { flags: ArxPolygonFlags; }): boolean; export declare function addLightIndex(polygons: ArxPolygon[]): ArxPolygon[]; export declare function getCellCoords([a, b, c]: QuadrupleOf<ArxVertex>): DoubleOf<number>;