Browse Source

[TS] `setFromBufferAttribute` missing in `Box3`

Mateusz Charytoniuk 5 years ago
parent
commit
8adeb9b35f
1 changed files with 2 additions and 0 deletions
  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;