arx-convert
Version:
Converts various Arx Fatalis formats to JSON or YAML and back
12 lines (11 loc) • 388 B
TypeScript
import { BinaryIO } from '../common/BinaryIO.js';
import type { ArxVector3 } from '../common/types.js';
export type ArxFtlVertex = {
vector: ArxVector3;
norm: ArxVector3;
};
export declare class FtlVertex {
static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxFtlVertex;
static accumulateFrom({ vector, norm }: ArxFtlVertex): ArrayBuffer;
static sizeOf(): number;
}