Browse Source

Merge pull request #20927 from hujiulong/patch-4

Fix type declaration of Vector4
Mr.doob 4 years ago
parent
commit
8074a7d9c3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/math/Vector4.d.ts

+ 1 - 2
src/math/Vector4.d.ts

@@ -1,6 +1,5 @@
 import { Matrix4 } from './Matrix4';
 import { Quaternion } from './Quaternion';
-import { Matrix3 } from './Matrix3';
 import { BufferAttribute } from './../core/BufferAttribute';
 import { Vector } from './Vector2';
 
@@ -131,7 +130,7 @@ export class Vector4 implements Vector {
 	 * 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 ): this;
+	setAxisAngleFromRotationMatrix( m: Matrix4 ): this;
 
 	min( v: Vector4 ): this;
 	max( v: Vector4 ): this;