Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed May 17, 2024
1 parent 7ba4710 commit 958371f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "ee-static-build-template",
"version": "0.0.0",
"engineVersion": "1.6.0",
"description": ""
}
4 changes: 2 additions & 2 deletions src/CustomLocationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { ECSState } from '@etherealengine/ecs/src/ECSState'
import { Engine } from '@etherealengine/ecs/src/Engine'
import { CameraComponent } from '@etherealengine/spatial/src/camera/components/CameraComponent'
import { NameComponent } from '@etherealengine/spatial/src/common/NameComponent'
import { V_010 } from '@etherealengine/spatial/src/common/constants/MathConstants'
import { Vector3_Up } from '@etherealengine/spatial/src/common/constants/MathConstants'
import { addObjectToGroup } from '@etherealengine/spatial/src/renderer/components/GroupComponent'
import { VisibleComponent } from '@etherealengine/spatial/src/renderer/components/VisibleComponent'
import { TransformComponent } from '@etherealengine/spatial/src/transform/components/TransformComponent'
Expand All @@ -35,7 +35,7 @@ const UpdateSystem = defineSystem({
const entity = getState(SceneState).entity
const elapsedSeconds = getState(ECSState).elapsedSeconds
const transformComponent = getComponent(entity, TransformComponent)
transformComponent.rotation.setFromAxisAngle(V_010, elapsedSeconds)
transformComponent.rotation.setFromAxisAngle(Vector3_Up, elapsedSeconds)
},
reactor: function () {
const state = getMutableState(SceneState)
Expand Down

0 comments on commit 958371f

Please sign in to comment.