polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
9 lines (8 loc) • 535 B
TypeScript
import { CorePoint } from '../Point';
import { BufferGeometry } from 'three/src/core/BufferGeometry';
import { PolyDictionary } from '../../../types/GlobalTypes';
export declare class CoreGeometryUtilCurve {
static accumulated_curve_point_indices(indices: number[]): number[][];
static create_line_segment_geometry(points: CorePoint[], indices: number[], attrib_names: string[], attrib_sizes_by_name: PolyDictionary<number>): BufferGeometry;
static line_segment_to_geometries(geometry: BufferGeometry): BufferGeometry[];
}