UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

32 lines 817 B
import { SectionPoint } from "./types"; import { Vertices } from "./vertices"; /** * This class deals with the joint between two segments, * and provide the points of the previous and next ellipses. * * ``` * -----+ * | + * | / \ * | / \ * |/ * -----+ * \ * \ * ``` */ export declare class Ellipse { readonly prvPointsIndexes: number[]; readonly nxtPointsIndexes: number[]; private vecY; private vecPrvX; private vecPrvZ; private vecNxtX; private vecNxtZ; private scaleX; private shiftZ; private vecPrv; constructor(prv: SectionPoint | undefined, cur: SectionPoint, nxt: SectionPoint | undefined, roundness: number, vertices: Vertices, elements: number[]); private computeAxis; } //# sourceMappingURL=ellipse.d.ts.map