瀏覽代碼

Fix test: wrong arguments passed to new Plane

Ondřej Španěl 5 年之前
父節點
當前提交
aa5133a338
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/unit/src/math/Plane.tests.js

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

@@ -126,7 +126,7 @@ export default QUnit.module( 'Maths', () => {
 
 		QUnit.test( "clone", ( assert ) => {
 
-			var a = new Plane( 2.0, 0.5, 0.25 );
+			var a = new Plane( new Vector3( 2.0, 0.5, 0.25 ) );
 			var b = a.clone();
 
 			assert.ok( a.equals( b ), "clones are equal" );