Browse Source

Fixed "new InterleavedBuffer" parameters: stride was passed to Float32Array instead of InterleavedBuffer.

Ondřej Španěl 7 năm trước cách đây
mục cha
commit
16631c75e4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      test/unit/src/core/InterleavedBuffer.tests.js

+ 1 - 1
test/unit/src/core/InterleavedBuffer.tests.js

@@ -34,7 +34,7 @@ export default QUnit.module( 'Core', () => {
 		// PROPERTIES
 		QUnit.test( "needsUpdate", ( assert ) => {
 
-			var a = new InterleavedBuffer( new Float32Array( [ 1, 2, 3, 4 ], 2 ) );
+			var a = new InterleavedBuffer( new Float32Array( [ 1, 2, 3, 4 ] ), 2 );
 
 			a.needsUpdate = true;