Skip to content

Commit

Permalink
Merge pull request #49 from EtherealEngine/new-spatial-package
Browse files Browse the repository at this point in the history
New spatial package
  • Loading branch information
HexaField committed Jan 30, 2024
2 parents 4dc12ba + 5a7ca53 commit f73be91
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/functions/BotHookSystem.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect } from 'react'
import { isDev } from '@etherealengine/common/src/config'
import { EngineState } from '@etherealengine/engine/src/EngineState'
import { XRState } from '@etherealengine/engine/src/xr/XRState'
import { EngineState } from '@etherealengine/spatial/src/EngineState'
import { XRState } from '@etherealengine/spatial/src/xr/XRState'
import { getState } from '@etherealengine/hyperflux'

import { BotHookFunctions } from './botHookFunctions'
Expand Down
8 changes: 4 additions & 4 deletions src/functions/botHookFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { MathUtils, Quaternion, Vector3 } from 'three'

import { iterativeMapToObject } from '@etherealengine/common/src/utils/mapToObject'
import { Engine } from '@etherealengine/ecs/src/Engine'
import { EngineState } from '@etherealengine/engine/src/EngineState'
import { EngineState } from '@etherealengine/spatial/src/EngineState'
import { getComponent } from '@etherealengine/ecs/src/ComponentFunctions'
import { TransformComponent } from '@etherealengine/engine/src/transform/components/TransformComponent'
import { TransformComponent } from '@etherealengine/spatial/src/transform/components/TransformComponent'
import { getState } from '@etherealengine/hyperflux'

import { BotHooks, XRBotHooks } from '../enums/BotHooks'
Expand All @@ -21,8 +21,8 @@ import {
xrInitialized,
xrSupported
} from './xrBotHookFunctions'
import { XRState } from '@etherealengine/engine/src/xr/XRState'
import { NetworkState } from '@etherealengine/engine/src/networking/NetworkState'
import { XRState } from '@etherealengine/spatial/src/xr/XRState'
import { NetworkState } from '@etherealengine/spatial/src/networking/NetworkState'
import { SceneState } from '@etherealengine/engine/src/scene/Scene'

export const BotHookFunctions = {
Expand Down
6 changes: 3 additions & 3 deletions src/functions/xrBotHookFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import { Quaternion, Vector3 } from 'three'

import { EngineState } from '@etherealengine/engine/src/EngineState'
import { XRAction, XRState } from '@etherealengine/engine/src/xr/XRState'
import { EngineState } from '@etherealengine/spatial/src/EngineState'
import { XRAction, XRState } from '@etherealengine/spatial/src/xr/XRState'
import { dispatchAction, getMutableState } from '@etherealengine/hyperflux'
import { requestXRSession } from '@etherealengine/engine/src/xr/XRSessionFunctions'
import { requestXRSession } from '@etherealengine/spatial/src/xr/XRSessionFunctions'

import { WebXREventDispatcher } from '../../webxr-emulator/WebXREventDispatcher'

Expand Down

0 comments on commit f73be91

Please sign in to comment.