@woosh/meep-engine 2.39.10 → 2.39.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ import Engine from "../../../Engine";
2
+ import {Texture} from "three";
3
+
4
+ export default class Terrain {
5
+ fromJSON(json: any, engine: Engine): void;
6
+
7
+ toJSON(): any
8
+
9
+ buildLightMap(quality: number): Promise<Texture>
10
+ }
@@ -1,7 +1,8 @@
1
1
  import {System} from "../../System";
2
2
  import {GraphicsEngine} from "../../../graphics/GraphicsEngine";
3
3
  import {AssetManager} from "../../../asset/AssetManager";
4
+ import Terrain from "./Terrain";
4
5
 
5
- export default class TerrainSystem extends System {
6
+ export default class TerrainSystem extends System<Terrain> {
6
7
  constructor(graphics: GraphicsEngine, assetManager: AssetManager)
7
8
  }
@@ -431,7 +431,7 @@ function main(engine) {
431
431
  const ecd = engine.entityManager.dataset;
432
432
 
433
433
  const cam = ecd.getAnyComponent(Camera);
434
- cam.component.projectionType.set(ProjectionType.Orthographic);
434
+ // cam.component.projectionType.set(ProjectionType.Orthographic);
435
435
 
436
436
  makePath({
437
437
  points: [
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "productName": "Meep",
6
6
  "description": "production-ready JavaScript game engine based on Entity Component System Architecture",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.39.10",
8
+ "version": "2.39.11",
9
9
  "dependencies": {
10
10
  "gl-matrix": "3.4.3",
11
11
  "fast-levenshtein": "2.0.6",