Parcourir la source

Corrected the Triangle.d.ts file

krong il y a 6 ans
Parent
commit
9ad0ff4759
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/math/Triangle.d.ts

+ 1 - 1
src/math/Triangle.d.ts

@@ -29,7 +29,7 @@ export class Triangle {
 	getArea(): number;
 	getMidpoint( target: Vector3 ): Vector3;
 	getNormal( target: Vector3 ): Vector3;
-	getPlane( target: Vector3 ): Plane;
+	getPlane( target: Plane ): Plane;
 	getBarycoord( point: Vector3, target: Vector3 ): Vector3;
 	getUV( point: Vector3, uv1: Vector2, uv2: Vector2, uv3: Vector2, target: Vector2 ): Vector2;
 	containsPoint( point: Vector3 ): boolean;