<threejs> add 'ShapeBufferGeometry' (#23272)

* add 'Texture' attribute: 'center','rotation'

* add 'ShapeBufferGeometry'
This commit is contained in:
FishOrBear
2018-02-03 05:46:24 +08:00
committed by Sheetal Nandi
parent 2b6e3afa04
commit 38ebf1ed54

View File

@@ -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);