diff --git a/src/base/plugins/ImplicitTilingPlugin.js b/src/base/plugins/ImplicitTilingPlugin.js index d8d6054e..f5adf9a3 100644 --- a/src/base/plugins/ImplicitTilingPlugin.js +++ b/src/base/plugins/ImplicitTilingPlugin.js @@ -1,4 +1,4 @@ -import { ImplicitTilingPlugin as ImplicitTilingPluginImpl } from '../../plugins/index.js'; +import { ImplicitTilingPlugin as ImplicitTilingPluginImpl } from '3d-tiles-renderer/plugins'; export class ImplicitTilingPlugin extends ImplicitTilingPluginImpl { diff --git a/src/plugins/three/objects/EllipsoidRegionHelper.js b/src/plugins/three/objects/EllipsoidRegionHelper.js index 2b9a0915..db38f91f 100644 --- a/src/plugins/three/objects/EllipsoidRegionHelper.js +++ b/src/plugins/three/objects/EllipsoidRegionHelper.js @@ -1,4 +1,4 @@ -import { EllipsoidRegion } from '../../../three/math/EllipsoidRegion.js'; +import { EllipsoidRegion } from '3d-tiles-renderer'; import { Mesh, Vector3, MathUtils, BoxGeometry, BufferGeometry, EdgesGeometry, LineSegments, BufferAttribute } from 'three'; const _norm = new Vector3(); diff --git a/src/r3f/components/CameraControls.jsx b/src/r3f/components/CameraControls.jsx index 200fc632..1dce85f5 100644 --- a/src/r3f/components/CameraControls.jsx +++ b/src/r3f/components/CameraControls.jsx @@ -1,7 +1,7 @@ import { forwardRef, useMemo, useEffect, useContext } from 'react'; import { useThree, useFrame } from '@react-three/fiber'; -import { EnvironmentControls as EnvironmentControlsImpl } from '../../three/controls/EnvironmentControls.js'; -import { GlobeControls as GlobeControlsImpl } from '../../three/controls/GlobeControls.js'; +import { EnvironmentControls as EnvironmentControlsImpl } from '3d-tiles-renderer'; +import { GlobeControls as GlobeControlsImpl } from '3d-tiles-renderer'; import { useShallowOptions } from '../utilities/useOptions.jsx'; import { TilesRendererContext } from './TilesRenderer.jsx'; diff --git a/src/r3f/components/CompassGizmo.jsx b/src/r3f/components/CompassGizmo.jsx index e968f33f..bbfe9517 100644 --- a/src/r3f/components/CompassGizmo.jsx +++ b/src/r3f/components/CompassGizmo.jsx @@ -2,7 +2,7 @@ import { createPortal, useFrame, useThree } from '@react-three/fiber'; import { useContext, useEffect, useMemo, useRef, useState } from 'react'; import { BackSide, Matrix4, OrthographicCamera, Ray, Scene, Vector3 } from 'three'; import { TilesRendererContext } from './TilesRenderer'; -import { closestRayEllipsoidSurfacePointEstimate } from '../../three/controls/utils'; +import { closestRayEllipsoidSurfacePointEstimate } from '../../three/controls/utils.js'; // Based in part on @pmndrs/drei's Gizmo component diff --git a/src/r3f/components/TilesRenderer.jsx b/src/r3f/components/TilesRenderer.jsx index 8e9b5b9e..819a464d 100644 --- a/src/r3f/components/TilesRenderer.jsx +++ b/src/r3f/components/TilesRenderer.jsx @@ -1,7 +1,7 @@ import { createContext, useContext, useState, useEffect, useRef, forwardRef, useMemo } from 'react'; import { useThree, useFrame } from '@react-three/fiber'; import { Vector3 } from 'three'; -import { TilesRenderer as TilesRendererImpl } from '../../three/TilesRenderer.js'; +import { TilesRenderer as TilesRendererImpl } from '3d-tiles-renderer'; import { useDeepOptions, useShallowOptions } from '../utilities/useOptions.jsx'; import { useObjectDep } from '../utilities/useObjectDep.jsx'; import { useForceUpdate } from '../utilities/useForceUpdate.jsx'; diff --git a/src/three/loaders/gltf/GLTFCesiumRTCExtension.js b/src/three/loaders/gltf/GLTFCesiumRTCExtension.js index 51c011cc..0e1d3b49 100644 --- a/src/three/loaders/gltf/GLTFCesiumRTCExtension.js +++ b/src/three/loaders/gltf/GLTFCesiumRTCExtension.js @@ -1,4 +1,4 @@ -import { GLTFCesiumRTCExtension as GLTFCesiumRTCExtensionImpl } from '../../../plugins/index.js'; +import { GLTFCesiumRTCExtension as GLTFCesiumRTCExtensionImpl } from '3d-tiles-renderer/plugins'; export class GLTFCesiumRTCExtension extends GLTFCesiumRTCExtensionImpl { diff --git a/src/three/loaders/gltf/GLTFMeshFeaturesExtension.js b/src/three/loaders/gltf/GLTFMeshFeaturesExtension.js index b000c3aa..162674a7 100644 --- a/src/three/loaders/gltf/GLTFMeshFeaturesExtension.js +++ b/src/three/loaders/gltf/GLTFMeshFeaturesExtension.js @@ -1,4 +1,4 @@ -import { GLTFMeshFeaturesExtension as GLTFMeshFeaturesExtensionImpl } from '../../../plugins/index.js'; +import { GLTFMeshFeaturesExtension as GLTFMeshFeaturesExtensionImpl } from '3d-tiles-renderer/plugins'; export class GLTFMeshFeaturesExtension extends GLTFMeshFeaturesExtensionImpl { diff --git a/src/three/loaders/gltf/GLTFStructuralMetadataExtension.js b/src/three/loaders/gltf/GLTFStructuralMetadataExtension.js index 55833f3f..59ae6095 100644 --- a/src/three/loaders/gltf/GLTFStructuralMetadataExtension.js +++ b/src/three/loaders/gltf/GLTFStructuralMetadataExtension.js @@ -1,4 +1,4 @@ -import { GLTFStructuralMetadataExtension as GLTFStructuralMetadataExtensionImpl } from '../../../plugins/index.js'; +import { GLTFStructuralMetadataExtension as GLTFStructuralMetadataExtensionImpl } from '3d-tiles-renderer/plugins'; export class GLTFStructuralMetadataExtension extends GLTFStructuralMetadataExtensionImpl { diff --git a/src/three/plugins/CesiumIonAuthPlugin.js b/src/three/plugins/CesiumIonAuthPlugin.js index 002a8fed..25f4d1f0 100644 --- a/src/three/plugins/CesiumIonAuthPlugin.js +++ b/src/three/plugins/CesiumIonAuthPlugin.js @@ -1,4 +1,4 @@ -import { CesiumIonAuthPlugin as CesiumIonAuthPluginImpl } from '../../plugins/index.js'; +import { CesiumIonAuthPlugin as CesiumIonAuthPluginImpl } from '3d-tiles-renderer/plugins'; export class CesiumIonAuthPlugin extends CesiumIonAuthPluginImpl { diff --git a/src/three/plugins/DebugTilesPlugin.js b/src/three/plugins/DebugTilesPlugin.js index 166b61f5..da797ae9 100644 --- a/src/three/plugins/DebugTilesPlugin.js +++ b/src/three/plugins/DebugTilesPlugin.js @@ -1,4 +1,4 @@ -import { DebugTilesPlugin as DebugTilesPluginImpl } from '../../plugins/three/DebugTilesPlugin.js'; +import { DebugTilesPlugin as DebugTilesPluginImpl } from '3d-tiles-renderer/plugins'; export { NONE, @@ -12,7 +12,7 @@ export { RANDOM_NODE_COLOR, CUSTOM_COLOR, LOAD_ORDER, -} from '../../plugins/three/DebugTilesPlugin.js'; +} from '3d-tiles-renderer/plugins'; export class DebugTilesPlugin extends DebugTilesPluginImpl { diff --git a/src/three/plugins/GoogleCloudAuthPlugin.js b/src/three/plugins/GoogleCloudAuthPlugin.js index f94988d0..bf9dd148 100644 --- a/src/three/plugins/GoogleCloudAuthPlugin.js +++ b/src/three/plugins/GoogleCloudAuthPlugin.js @@ -1,4 +1,4 @@ -import { GoogleCloudAuthPlugin as GoogleCloudAuthPluginImpl } from '../../plugins/index.js'; +import { GoogleCloudAuthPlugin as GoogleCloudAuthPluginImpl } from '3d-tiles-renderer/plugins'; export class GoogleCloudAuthPlugin extends GoogleCloudAuthPluginImpl {