UNPKG

@threepipe/plugin-svg-renderer

Version:

Plugins for SVG Rendering of 3d objects for Threepipe

13 lines 661 B
import { BufferAttribute, BufferGeometry, InterleavedBufferAttribute } from '../../threepipe'; import { HalfedgeDS } from '../core/HalfedgeDS'; export declare function setFromGeometry(struct: HalfedgeDS, geometry: BufferGeometry, tolerance?: number): void; /** * Returns an array where each index points to its new index in the buffer * attribute * * @param positions Vertices positions buffer * @param tolerance Distance tolerance of the vertices to merge * @returns */ export declare function computeVerticesIndexArray(positions: BufferAttribute | InterleavedBufferAttribute, tolerance?: number): number[]; //# sourceMappingURL=setFromGeometry.d.ts.map