Browse Source

better prop name for the example

sunag 4 years ago
parent
commit
cfd07dd049
1 changed files with 2 additions and 2 deletions
  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 );
 
 				}