소스 검색

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 );
 
 				}