Skip to content

Commit

Permalink
new spatial package
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed Jan 30, 2024
1 parent 4dc12ba commit d7f7909
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 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 { XRState } from '@etherealengine/spatial/src/xr/XRState'
import { getState } from '@etherealengine/hyperflux'

import { BotHookFunctions } from './botHookFunctions'
Expand Down
6 changes: 3 additions & 3 deletions src/functions/botHookFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { iterativeMapToObject } from '@etherealengine/common/src/utils/mapToObje
import { Engine } from '@etherealengine/ecs/src/Engine'
import { EngineState } from '@etherealengine/engine/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
4 changes: 2 additions & 2 deletions src/functions/xrBotHookFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import { Quaternion, Vector3 } from 'three'

import { EngineState } from '@etherealengine/engine/src/EngineState'
import { XRAction, XRState } from '@etherealengine/engine/src/xr/XRState'
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 d7f7909

Please sign in to comment.