Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Oct 28, 2024
1 parent ad10eb7 commit de954c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/fadingTiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let groundTiles, skyTiles, tilesParent, transition;
const params = {

reinstantiateTiles,
fadeRootTiles: true,
fadeRootTiles: false,
useFade: true,
errorTarget: 12,
fadeDuration: 0.5,
Expand Down
1 change: 1 addition & 0 deletions example/googleMapsAerial.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function reinstantiateTiles() {
// tiles.setLatLonToYUp( 43.8803 * MathUtils.DEG2RAD, - 103.4538 * MathUtils.DEG2RAD ); // Mt Rushmore
// tiles.setLatLonToYUp( 36.2679 * MathUtils.DEG2RAD, - 112.3535 * MathUtils.DEG2RAD ); // Grand Canyon
// tiles.setLatLonToYUp( - 22.951890 * MathUtils.DEG2RAD, - 43.210439 * MathUtils.DEG2RAD ); // Christ the Redeemer
// tiles.setLatLonToYUp( 34.9947 * MathUtils.DEG2RAD, 135.7847 * MathUtils.DEG2RAD ); // Kiyomizu-dera
tiles.setLatLonToYUp( 35.6586 * MathUtils.DEG2RAD, 139.7454 * MathUtils.DEG2RAD ); // Tokyo Tower

// Note the DRACO compression files need to be supplied via an explicit source.
Expand Down
2 changes: 1 addition & 1 deletion example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function init() {
controls.maxDistance = 5000;

// lights
const dirLight = new DirectionalLight( 0xffffff );
const dirLight = new DirectionalLight( 0xffffff, 4 );
dirLight.position.set( 1, 2, 3 );
scene.add( dirLight );

Expand Down

0 comments on commit de954c9

Please sign in to comment.