diff --git a/src/plugins/three/objects/EllipsoidRegionHelper.js b/src/plugins/three/objects/EllipsoidRegionHelper.js index 8d866c747..d0b4ef67c 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 200fc6324..1dce85f56 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 e968f33fb..bbfe9517a 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 de0def62f..19ad99b3c 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 51c011cca..0e1d3b493 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 b000c3aa8..162674a76 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 55833f3ff..59ae6095c 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 {