Pārlūkot izejas kodu

[examples] - fix example urls for new location in 3d-tiles-samples repo

Dave Buchhofer 3 gadi atpakaļ
vecāks
revīzija
2d9a7fbe8e
3 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 1 1
      example/b3dmExample.js
  2. 1 1
      example/i3dmExample.js
  3. 1 1
      example/pntsExample.js

+ 1 - 1
example/b3dmExample.js

@@ -121,7 +121,7 @@ function init() {
 	scene.add( offsetGroup );
 
 	new B3DMLoader()
-		.load( 'https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/master/tilesets/TilesetWithRequestVolume/city/lr.b3dm' )
+		.load( 'https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/main/1.0/TilesetWithRequestVolume/city/lr.b3dm' )
 		.then( res => {
 
 			console.log( res );

+ 1 - 1
example/i3dmExample.js

@@ -63,7 +63,7 @@ function init() {
 	scene.add( ambLight );
 
 	new I3DMLoader()
-		.load( 'https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/master/tilesets/TilesetWithTreeBillboards/tree.i3dm' )
+		.load( 'https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/main/1.0/TilesetWithTreeBillboards/tree.i3dm' )
 		.then( res => {
 
 			let instance = null;

+ 1 - 1
example/pntsExample.js

@@ -60,7 +60,7 @@ function init() {
 	scene.add( ambLight );
 
 	new PNTSLoader()
-		.load( 'https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/master/tilesets/TilesetWithRequestVolume/points.pnts' )
+		.load( 'https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/main/1.0/TilesetWithRequestVolume/points.pnts' )
 		.then( res => {
 
 			console.log( res );