Explorar el Código

better prop name for the example

sunag hace 5 años
padre
commit
cfd07dd049
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 );
 
 				}
 

粤ICP备19079148号