瀏覽代碼

Update handinput_mesh example

Fernando Serrano 5 年之前
父節點
當前提交
2cd4f2a3d3
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      examples/webxr_vr_handinput_mesh.html

+ 1 - 2
examples/webxr_vr_handinput_mesh.html

@@ -103,7 +103,6 @@
 
 				hand1 = renderer.xr.getHand( 0 );
 				hand1.add( handModelFactory.createHandModel( hand1 ) );
-
 				scene.add( hand1 );
 
 				// Hand 2
@@ -113,7 +112,7 @@
 				scene.add( controllerGrip2 );
 
 				hand2 = renderer.xr.getHand( 1 );
-				hand2.add( handModelFactory.createHandModel( hand2 ) );
+				hand2.add( handModelFactory.createHandModel( hand2, "spheres" ) );
 				scene.add( hand2 );
 
 				//