Browse Source

Fix test: wrong arguments passed to Matrix4.makeTranslation

Ondřej Španěl 5 years ago
parent
commit
abe98b092a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/unit/src/math/Matrix4.tests.js

+ 1 - 1
test/unit/src/math/Matrix4.tests.js

@@ -546,7 +546,7 @@ export default QUnit.module( 'Maths', () => {
 			var b = new Vector3( 2, 3, 4 );
 			var c = new Matrix4().set( 1, 0, 0, 2, 0, 1, 0, 3, 0, 0, 1, 4, 0, 0, 0, 1 );
 
-			a.makeTranslation( b );
+			a.makeTranslation( b.x, b.y, b.z );
 			assert.ok( matrixEquals4( a, c ), "Passed!" );
 
 		} );