Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update maps to latest version of ethereal engine #12

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

aditya-mitra
Copy link
Collaborator

closes #6

editor/MapNodeEditor.tsx Outdated Show resolved Hide resolved
engine/MapFunctions.ts Outdated Show resolved Hide resolved
engine/MapFunctions.ts Outdated Show resolved Hide resolved
engine/MapFunctions.ts Outdated Show resolved Hide resolved
return s.merge({
center: action.centerPoint,
switch(action.type) {
case 'map.INITIALIZE': return state.merge({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be refactored to use the defineActionQueue API

@@ -24,7 +23,7 @@ const $normalScaleViewerPositionDelta = new Array(2) as [number, number]
const $previousViewerPosition = new Vector3()
const $previousMapCenterPoint: LongLat = Array(2)

export default async function MapUpdateSystem(world: World): Promise<System> {
export default async function MapUpdateSystem(): Promise<any> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

systems now use defineSystem which takes execute as an argument. any async logic should be done in a reactor on the system defintion

engine/phases/CreateGeometryPhase.ts Outdated Show resolved Hide resolved
engine/phases/TransformFeaturePhase.ts Outdated Show resolved Hide resolved
worldInjection.ts Outdated Show resolved Hide resolved
editor/MapNodeEditor.tsx Outdated Show resolved Hide resolved
engine/MapUpdateSystem.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maps - Update the current system for latest version of Ethereal Engine
3 participants