Переглянути джерело

add spacings to InstancedBufferAttribute

simonThiele 9 роки тому
батько
коміт
2ac769af22
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      test/unit/core/InstancedBufferAttribute.js

+ 3 - 3
test/unit/core/InstancedBufferAttribute.js

@@ -14,9 +14,9 @@ test( "can be created", function() {
 });
 
 test( "copy", function() {
-	var array = new Float32Array([1, 2, 3, 7, 8, 9]);
-	var instance = new THREE.InstancedBufferAttribute(array, 2, 123);
-	var copiedInstance = instance.copy(instance);
+	var array = new Float32Array( [1, 2, 3, 7, 8, 9] );
+	var instance = new THREE.InstancedBufferAttribute( array, 2, 123 );
+	var copiedInstance = instance.copy( instance );
 
 	ok( copiedInstance instanceof THREE.InstancedBufferAttribute, "the clone has the correct type" );
 	ok( copiedInstance.itemSize === 2, "itemSize was copied" );