Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Jun 28, 2024
1 parent b8e33ed commit 2e0c4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ tilesRenderer.addEventListener( 'load-tile-set', () => {
// optionally center the tile set in case it's far off center
const sphere = new Sphere();
tilesRenderer.getBoundingSphere( sphere );
tilesRenderer.position.copy( sphere.center ).multiplyScalar( - 1 );
tilesRenderer.group.position.copy( sphere.center ).multiplyScalar( - 1 );

} );

Expand Down

0 comments on commit 2e0c4e0

Please sign in to comment.