浏览代码

Fixed typo.

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( "translate", new THREE.InstancedBufferAttribute( translateArray, 3, 1 ) );
 			geometry.addAttribute( "scale", new THREE.InstancedBufferAttribute( scaleArray, 1, 1 ).setDynamic( true ) );
 			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( {
 			material = new THREE.RawShaderMaterial( {
 				uniforms: {
 				uniforms: {