Преглед изворни кода

Fix Ray.lookAt d.ts signature

Ondřej Španěl пре 6 година
родитељ
комит
b37e9e60d9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/math/Ray.d.ts

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

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

粤ICP备19079148号