mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
Correct parameter type for Vector4.setAxisAngleFromRotationMatrix.
The parameter to Vector4.setAxisAngleFromRotationMatrix is a Matrix4 from which the upper 3x3 matrix is used, not a Matrix3. See https://github.com/mrdoob/three.js/blob/master/src/math/Vector4.js#L271 for a reference.
This commit is contained in:
1 parent
1984ea435f
commit
88296dd9b2
2 files changed
+13
-1
No files matched your search
Vendored
+1
-1
@@ -4166,7 +4166,7 @@ declare module THREE {
|
||||
* http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToAngle/index.htm
|
||||
* @param m assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)
|
||||
*/
|
||||
setAxisAngleFromRotationMatrix(m: Matrix3): Vector4;
|
||||
setAxisAngleFromRotationMatrix(m: Matrix4): Vector4;
|
||||
|
||||
min(v: Vector4): Vector4;
|
||||
max(v: Vector4): Vector4;
|
||||
|
||||
Reference in new issue
Block a user