mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 19:42:27 +08:00
Merge pull request #25897 from fordhurley/three-buffer-geom-points
[three] BufferGeometry.setFromPoints accepts Vector2s as well
This commit is contained in:
2
types/three/three-core.d.ts
vendored
2
types/three/three-core.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user