Mr.doob пре 10 година
родитељ
комит
e22e0fe39b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/webgl_buffergeometry_instancing_billboards.html

+ 1 - 1
examples/webgl_buffergeometry_instancing_billboards.html

@@ -149,7 +149,7 @@
 
 			geometry.addAttribute( "translate", new THREE.InstancedBufferAttribute( translateArray, 3, 1 ) );
 			geometry.addAttribute( "scale", new THREE.InstancedBufferAttribute( scaleArray, 1, 1 ).setDynamic( true ) );
-			geometry.addAttribute( "color", new THREE.InstancedBufferAttribute( colorsArray, 3, 1 ).setDynamic( true ) ) );
+			geometry.addAttribute( "color", new THREE.InstancedBufferAttribute( colorsArray, 3, 1 ).setDynamic( true ) );
 
 			material = new THREE.RawShaderMaterial( {
 				uniforms: {