Pārlūkot izejas kodu

better prop name for the example

sunag 4 gadi atpakaļ
vecāks
revīzija
cfd07dd049
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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 );
 
 				}