/// import { BiffParser } from '../io/biff-parser'; import { CatmullCurve } from './catmull-curve'; import { IRenderVertex, Vertex } from './vertex'; import { RenderVertex } from './vertex2d'; import { Vertex3D } from './vertex3d'; export declare const HIT_SHAPE_DETAIL_LEVEL = 7; /** * Used for game items that contain some kind of editable splice, like rubbers, * walls, etc. * * @see https://github.com/vpinball/vpinball/blob/master/dragpoint.cpp */ export declare class DragPoint extends BiffParser { vertex: Vertex3D; fSmooth: boolean; fSlingshot: boolean; fAutoTexture: boolean; texturecoord: number; calcHeight?: number; static getRgVertex(vdpoint: DragPoint[], instantiateT: () => T, instantiateCatmullCurve: (pdp0: Vertex, pdp1: Vertex, pdp2: Vertex, pdp3: Vertex) => CatmullCurve, loop?: boolean, accuracy?: number): T[]; static getTextureCoords(dragPoints: DragPoint[], vv: RenderVertex[]): number[]; private static recurseSmoothLine; private static flatWithAccuracy; private static flatWithAccuracy2; private static flatWithAccuracy3; fromTag(buffer: Buffer, tag: string): Promise; }