layered geometries

This commit is contained in:
azykov@mail.ru
2026-06-21 15:38:41 +03:00
parent 98e387c490
commit a60e01e4d1
23 changed files with 322 additions and 187 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { autorun, makeAutoObservable, toJS } from "mobx";
import { WorldFactory } from "../model/worldFactory";
import { type ObjectInstance, type ObjectType, type World, type VoxelType, type RuntimeWorld } from "../types";
import { type ObjectInstance, type ObjectType, type World, type VoxelType } from "../types";
import { state } from "./rootState";
import { DEFAULT_VOXEL_TYPES } from "../model/defaultVoxelTypes";
import { wolf } from "../model/objectPrefabs/wolf";
@@ -8,7 +8,7 @@ import { terrainXZ } from "../model/objectPrefabs/terrain";
import { populateRuntimeWorld } from "../utils/runtime";
export class WorldState {
public data: RuntimeWorld = WorldFactory.create();
public data: World = WorldFactory.create();
private _buildSave(): World {
const d = this.data;