Browse Source

Merge pull request #17031 from FoggyMist/patch-1

Update Box3.d.ts
Michael Herzog 6 years ago
parent
commit
ae408530f8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/math/Box3.d.ts

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

@@ -3,6 +3,7 @@ import { Object3D } from './../core/Object3D';
 import { Sphere } from './Sphere';
 import { Plane } from './Plane';
 import { Matrix4 } from './Matrix4';
+import { Triangle } from './Triangle';
 
 export class Box3 {
 
@@ -32,6 +33,7 @@ export class Box3 {
 	intersectsBox( box: Box3 ): boolean;
 	intersectsSphere( sphere: Sphere ): boolean;
 	intersectsPlane( plane: Plane ): boolean;
+	intersectsTriangle( triangle: Triangle ): boolean;
 	clampPoint( point: Vector3, target: Vector3 ): Vector3;
 	distanceToPoint( point: Vector3 ): number;
 	getBoundingSphere( target: Sphere ): Sphere;