mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
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)
This commit is contained in:
2
threejs/three.d.ts
vendored
2
threejs/three.d.ts
vendored
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user