Browse Source

Fix Ray.lookAt d.ts signature

Ondřej Španěl 5 years ago
parent
commit
b37e9e60d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/math/Ray.d.ts

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

@@ -15,7 +15,7 @@ export class Ray {
 	clone(): this;
 	copy( ray: Ray ): this;
 	at( t: number, target: Vector3 ): Vector3;
-	lookAt( v: Vector3 ): Vector3;
+	lookAt( v: Vector3 ): Ray;
 	recast( t: number ): Ray;
 	closestPointToPoint( point: Vector3, target: Vector3 ): Vector3;
 	distanceToPoint( point: Vector3 ): number;