Pārlūkot izejas kodu

Merge pull request #18370 from mcharytoniuk/patch-2

[TS] `setFromBufferAttribute` missing in `Box3`
Mr.doob 5 gadi atpakaļ
vecāks
revīzija
0fb87a51bd
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/math/Box3.d.ts

+ 2 - 0
src/math/Box3.d.ts

@@ -1,3 +1,4 @@
+import { BufferAttribute } from './../core/BufferAttribute';
 import { Vector3 } from './Vector3';
 import { Object3D } from './../core/Object3D';
 import { Sphere } from './Sphere';
@@ -15,6 +16,7 @@ export class Box3 {
 
 	set( min: Vector3, max: Vector3 ): this;
 	setFromArray( array: ArrayLike<number> ): this;
+	setFromBufferAttribute( bufferAttribute: BufferAttribute ): this;
 	setFromPoints( points: Vector3[] ): this;
 	setFromCenterAndSize( center: Vector3, size: Vector3 ): this;
 	setFromObject( object: Object3D ): this;