//#region src/pipeline/convexHull.d.ts /** * 2D convex hull + fan triangulation for the per-batch envelope * geometry (tight-mesh Option A): all sprites in a batch share one * n-gon computed as the hull of the atlas's frame polygons. */ /** * Andrew's monotone chain over `[x, y]` points. Returns hull points in * counter-clockwise order (three's front-face winding). Collinear * points are dropped. Input under 3 distinct points returns []. */ declare function convexHull(points: ReadonlyArray): [number, number][]; /** * Fan-triangulate a convex CCW polygon: indices `(0, i, i+1)`. */ declare function fanTriangulate(vertexCount: number): number[]; //#endregion export { convexHull, fanTriangulate }; //# sourceMappingURL=convexHull.d.ts.map