UNPKG

arx-level-generator

Version:
15 lines (14 loc) 557 B
import { ArxVertex } from 'arx-convert/types'; import { Vector2 } from 'three'; import { Color } from './Color.js'; import { Vector3 } from './Vector3.js'; import { ArxVertexWithColor } from './types.js'; export declare class Vertex extends Vector3 { uv: Vector2; color: Color; constructor(x: number, y: number, z: number, u?: number, v?: number, color?: Color); clone(): this; static fromArxVertex({ x, y, z, u, v, color }: ArxVertexWithColor): Vertex; toArxVertex(): ArxVertex; equals(v: Vector3, epsilon?: number): boolean; }