import { Vec3 } from "../math/Vec3"; import { Vec2 } from "../math/Vec2"; import { BufferGeometry } from "./geometry"; import { BufferAttribute } from "./buffer-attribute"; import { Vec4 } from "../math/Vec4"; import { TypedArray } from "./types"; export declare function indexable(obj: any[] | any, refIndexInfo?: { index: number; }, force?: boolean): void; export declare function triangListToBuffer(vertices: Vec3[], triangleList: Vec3[]): BufferGeometry; /** * 顶点纹理坐标所以转化为buffer数据 * @param {Array} vertices * @param {Array} indices * @param {Array} uvs */ export declare function toGeoBuffer(vertices: BufferAttribute | Array | TypedArray, indices: number[] | Uint32Array | Uint16Array, uvs?: BufferAttribute | TypedArray | Array): BufferGeometry; /** * 三角剖分后转成几何体 * 只考虑XY平面 * @param {*} boundary * @param {*} hole * @param {*} options */ export declare function trianglutionToGeometryBuffer(boundary: any, holes?: any[], options?: any): BufferGeometry;