From 32864bc99fd7eca896c5c2605e0ac6a63aaff18e Mon Sep 17 00:00:00 2001 From: HexaField Date: Sat, 4 Jan 2025 15:32:40 +1100 Subject: [PATCH] update --- src/CustomLocationPage.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CustomLocationPage.tsx b/src/CustomLocationPage.tsx index 1d5ac02..b8d43b5 100644 --- a/src/CustomLocationPage.tsx +++ b/src/CustomLocationPage.tsx @@ -1,6 +1,5 @@ import '@ir-engine/client/src/engine' -import { useEngineCanvas } from '@ir-engine/client-core/src/hooks/useEngineCanvas' import { EntityTreeComponent, UndefinedEntity, @@ -19,16 +18,17 @@ import { useMutableState, useReactiveRef } from '@ir-engine/hyperflux' +import { ReferenceSpaceState } from '@ir-engine/spatial' import { CameraComponent } from '@ir-engine/spatial/src/camera/components/CameraComponent' import { NameComponent } from '@ir-engine/spatial/src/common/NameComponent' import { Vector3_Up } from '@ir-engine/spatial/src/common/constants/MathConstants' import { destroySpatialEngine, initializeSpatialEngine } from '@ir-engine/spatial/src/initializeEngine' -import { addObjectToGroup } from '@ir-engine/spatial/src/renderer/components/GroupComponent' +import { addObjectToGroup } from '@ir-engine/spatial/src/renderer/components/ObjectComponent' import { VisibleComponent } from '@ir-engine/spatial/src/renderer/components/VisibleComponent' +import { useEngineCanvas } from '@ir-engine/spatial/src/renderer/functions/useEngineCanvas' import { TransformComponent } from '@ir-engine/spatial/src/transform/components/TransformComponent' import { TransformSystem, computeTransformMatrix } from '@ir-engine/spatial/src/transform/systems/TransformSystem' -import { ReferenceSpaceState } from '@ir-engine/spatial' import React, { useEffect } from 'react' import { BoxGeometry, Mesh, MeshBasicMaterial } from 'three'