Browse Source

Fixed webvr_sculpt and webvr_vive_sculpt.

Mr.doob 6 năm trước cách đây
mục cha
commit
1a6ed6bf99
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      examples/webvr_sculpt.html
  2. 1 1
      examples/webvr_vive_sculpt.html

+ 1 - 1
examples/webvr_sculpt.html

@@ -197,7 +197,7 @@
 					metalness: 0.0
 				} );
 
-				blob = new MarchingCubes( 64, material, true );
+				blob = new MarchingCubes( 64, material );
 				blob.position.y = 1;
 				scene.add( blob );
 

+ 1 - 1
examples/webvr_vive_sculpt.html

@@ -181,7 +181,7 @@
 					metalness: 0.0
 				} );
 
-				blob = new MarchingCubes( 64, material, true );
+				blob = new MarchingCubes( 64, material );
 				blob.position.y = 1;
 				scene.add( blob );