Merge pull request #25897 from fordhurley/three-buffer-geom-points

[three] BufferGeometry.setFromPoints accepts Vector2s as well
This commit is contained in:
Daniel Rosenwasser
2018-05-22 23:30:34 -07:00
committed by GitHub

View File

@@ -873,7 +873,7 @@ export class BufferGeometry extends EventDispatcher {
center(): BufferGeometry;
setFromObject(object: Object3D): BufferGeometry;
setFromPoints(points: Vector3[]): BufferGeometry;
setFromPoints(points: Vector3[]|Vector2[]): BufferGeometry;
updateFromObject(object: Object3D): void;
fromGeometry(geometry: Geometry, settings?: any): BufferGeometry;