From 5c48aedd1af8c48b301efeb71acedfd230229a4e Mon Sep 17 00:00:00 2001 From: yutopp Date: Tue, 9 Dec 2014 12:44:26 +0900 Subject: [PATCH] change type of THREE.Quaternion.setFromUnitVectors I think the parameter type should be Vector3. [ref](https://github.com/mrdoob/three.js/blob/master/src/math/Quaternion.js#L257) [ref](http://threejs.org/docs/#Reference/Math/Quaternion) --- threejs/three.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threejs/three.d.ts b/threejs/three.d.ts index b1660aa7ea..39d65da6ca 100644 --- a/threejs/three.d.ts +++ b/threejs/three.d.ts @@ -3189,7 +3189,7 @@ declare module THREE { * Sets this quaternion from rotation component of m. Adapted from http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm. */ setFromRotationMatrix(m: Matrix4): Quaternion; - setFromUnitVectors(vFrom: Vector3, vTo: Vector4): Quaternion; + setFromUnitVectors(vFrom: Vector3, vTo: Vector3): Quaternion; /** * Inverts this quaternion. */