浏览代码

better prop name for the example

sunag 4 年之前
父节点
当前提交
cfd07dd049
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      examples/webgpu_instance_uniform.html

+ 2 - 2
examples/webgpu_instance_uniform.html

@@ -41,9 +41,9 @@
 
 				update( frame ) {
 
-					const object = frame.object;
+					const mesh = frame.object;
 					
-					this.inputNode.value.copy( object.color );
+					this.inputNode.value.copy( mesh.color );
 
 				}