UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

14 lines (12 loc) 362 B
import {CurvePath, Vector3} from 'three' import {Serialization} from 'ts-browser-helpers' export class CurvePath3 extends CurvePath<Vector3> { override readonly type: string | 'CurvePath3' constructor() { super() this.type = 'CurvePath3' } static { Serialization.SerializableClasses.set('CurvePath3', CurvePath3) } }