@woosh/meep-engine 2.112.0 → 2.113.1
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.
- package/build/bundle-worker-image-decoder.js +1 -1
- package/build/bundle-worker-terrain.js +1 -1
- package/editor/Editor.js +2 -0
- package/package.json +1 -1
- package/src/core/binary/BinaryBuffer.d.ts +1 -1
- package/src/core/binary/BinaryBuffer.d.ts.map +1 -1
- package/src/core/binary/BinaryBuffer.js +2 -2
- package/src/core/binary/platform_compute_endianness.d.ts +8 -0
- package/src/core/binary/platform_compute_endianness.d.ts.map +1 -0
- package/src/core/binary/platform_compute_endianness.js +29 -0
- package/src/core/collection/table/RowFirstTableSpec.d.ts +5 -5
- package/src/core/collection/table/RowFirstTableSpec.d.ts.map +1 -1
- package/src/core/collection/table/RowFirstTableSpec.js +9 -5
- package/src/core/geom/3d/tetrahedra/TetrahedralMesh.d.ts.map +1 -1
- package/src/core/geom/3d/tetrahedra/TetrahedralMesh.js +8 -3
- package/src/core/geom/3d/topology/simplify/collapseEdge.d.ts.map +1 -1
- package/src/core/geom/3d/topology/simplify/collapseEdge.js +8 -23
- package/src/core/geom/3d/topology/struct/TopoEdge.d.ts +1 -0
- package/src/core/geom/3d/topology/struct/TopoEdge.d.ts.map +1 -1
- package/src/core/geom/3d/topology/struct/TopoEdge.js +35 -36
- package/src/core/geom/3d/topology/struct/TopoMesh.d.ts.map +1 -1
- package/src/core/geom/3d/topology/struct/TopoMesh.js +18 -21
- package/src/core/geom/3d/topology/struct/TopoTriangle.d.ts.map +1 -1
- package/src/core/geom/3d/topology/struct/TopoTriangle.js +24 -26
- package/src/core/geom/3d/topology/struct/TopoVertex.d.ts.map +1 -1
- package/src/core/geom/3d/topology/struct/TopoVertex.js +37 -70
- package/src/engine/graphics/geometry/AttributeGroupSpec.d.ts +3 -3
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.d.ts +2 -1
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.d.ts +2 -1
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.d.ts.map +1 -1
- package/src/engine/scene/SerializedScene.d.ts.map +1 -1
- package/src/engine/scene/SerializedScene.js +7 -4
|
@@ -4,5 +4,6 @@ export const BILLBOARD_PARTICLE_ATTRIBUTE_SIZE: 2;
|
|
|
4
4
|
export const BILLBOARD_PARTICLE_ATTRIBUTE_VELOCITY: 3;
|
|
5
5
|
export const BILLBOARD_PARTICLE_ATTRIBUTE_COLOR: 5;
|
|
6
6
|
export const BILLBOARD_PARTICLE_ATTRIBUTE_BLEND: 6;
|
|
7
|
-
export const BILLBOARD_PARTICLE_SPECIFICATION:
|
|
7
|
+
export const BILLBOARD_PARTICLE_SPECIFICATION: AttributeGroupSpec;
|
|
8
|
+
import { AttributeGroupSpec } from "../../../../../geometry/AttributeGroupSpec.js";
|
|
8
9
|
//# sourceMappingURL=BILLBOARD_PARTICLE_SPECIFICATION.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BILLBOARD_PARTICLE_SPECIFICATION.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.js"],"names":[],"mappings":"AAIA,sDAAuD;AACvD,gDAAiD;AACjD,kDAAmD;AACnD,sDAAuD;AACvD,mDAAoD;AACpD,mDAAoD;AAEpD,
|
|
1
|
+
{"version":3,"file":"BILLBOARD_PARTICLE_SPECIFICATION.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.js"],"names":[],"mappings":"AAIA,sDAAuD;AACvD,gDAAiD;AACjD,kDAAmD;AACnD,sDAAuD;AACvD,mDAAoD;AACpD,mDAAoD;AAEpD,kEAAyE;mCAVtC,+CAA+C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SerializedScene.d.ts","sourceRoot":"","sources":["../../../../src/engine/scene/SerializedScene.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SerializedScene.d.ts","sourceRoot":"","sources":["../../../../src/engine/scene/SerializedScene.js"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,0CALW,MAAM,gDAGJ,QAAQ,IAAI,CAAC,CASzB;AAED;;;;;;GAMG;AACH,qDALW,MAAM,gDAGJ,aAAa,CAyBzB;AAED;IACI;;;;OAIG;IACH,4BAHW,MAAM,EAOhB;IADG,UAAgB;IAIpB,gHAcC;CACJ;yBApFwB,2CAA2C"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { GameAssetType } from "../asset/GameAssetType.js";
|
|
2
|
-
import BinaryBufferDeSerializer from "../ecs/storage/BinaryBufferDeSerializer.js";
|
|
3
|
-
import { EncodingBinaryBuffer } from "../../core/binary/EncodingBinaryBuffer.js";
|
|
4
|
-
import { assert } from "../../core/assert.js";
|
|
5
1
|
import { MirScene } from "../../../../model/game/scenes/MirScene.js";
|
|
2
|
+
import { assert } from "../../core/assert.js";
|
|
3
|
+
import { EncodingBinaryBuffer } from "../../core/binary/EncodingBinaryBuffer.js";
|
|
4
|
+
import { EndianType } from "../../core/binary/EndianType.js";
|
|
6
5
|
import { emptyTask } from "../../core/process/task/util/emptyTask.js";
|
|
6
|
+
import { GameAssetType } from "../asset/GameAssetType.js";
|
|
7
|
+
import BinaryBufferDeSerializer from "../ecs/storage/BinaryBufferDeSerializer.js";
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
*
|
|
@@ -44,6 +45,8 @@ export async function createSceneDeserializationTask(path, ecd, engine) {
|
|
|
44
45
|
|
|
45
46
|
const binaryBuffer = new EncodingBinaryBuffer();
|
|
46
47
|
|
|
48
|
+
binaryBuffer.endianness = EndianType.BigEndian;
|
|
49
|
+
|
|
47
50
|
binaryBuffer.fromArrayBuffer(buffer);
|
|
48
51
|
|
|
49
52
|
const task = deSerializer.process(binaryBuffer, engine, ecd);
|