提交 abe98b09 编写于 作者: O Ondřej Španěl

Fix test: wrong arguments passed to Matrix4.makeTranslation

上级 aa5133a3
......@@ -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!" );
} );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册