Jelajahi Sumber

update draco version

Petter 4 tahun lalu
induk
melakukan
2e0aa82f39
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      example/index.js

+ 1 - 1
example/index.js

@@ -91,7 +91,7 @@ function reinstantiateTiles() {
 	// Note the DRACO compression files need to be supplied via an explicit source.
 	// We use unpkg here but in practice should be provided by the application.
 	const dracoLoader = new DRACOLoader();
-	dracoLoader.setDecoderPath( 'https://unpkg.com/three@0.116.1/examples/js/libs/draco/gltf/' );
+	dracoLoader.setDecoderPath( 'https://unpkg.com/three@0.123.0/examples/js/libs/draco/gltf/' );
 
 	tiles = new TilesRenderer( url );
 	tiles.fetchOptions.mode = 'cors';