From 38ebf1ed54cb4011ec06dadf0d476bec425e72ad Mon Sep 17 00:00:00 2001 From: FishOrBear Date: Sat, 3 Feb 2018 05:46:24 +0800 Subject: [PATCH] add 'ShapeBufferGeometry' (#23272) * add 'Texture' attribute: 'center','rotation' * add 'ShapeBufferGeometry' --- types/three/three-core.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 8abbd380a7..40a9d4daa0 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -6768,6 +6768,11 @@ export class ShapeGeometry extends Geometry { addShape(shape: Shape, options?: any): void; } +export class ShapeBufferGeometry extends BufferGeometry +{ + constructor(shapes: Shape | Shape[], curveSegments?: number); +} + export class SphereBufferGeometry extends BufferGeometry { constructor(radius: number, widthSegments?: number, heightSegments?: number, phiStart?: number, phiLength?: number, thetaStart?: number, thetaLength?: number);