nucleation 0.8.0 → 0.9.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/TickSettleMode.d.mts +34 -0
- package/TickSettleMode.d.ts +34 -0
- package/TickSettleMode.mjs +84 -0
- package/TickSimulation.d.mts +312 -0
- package/TickSimulation.d.ts +312 -0
- package/TickSimulation.mjs +828 -0
- package/diplomat.config.mjs +3 -4
- package/index.d.mts +4 -0
- package/index.d.ts +4 -0
- package/index.mjs +5 -1
- package/nucleation.wasm +0 -0
- package/package.json +1 -1
package/diplomat.config.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// Isomorphic: fs.readFileSync accepts file:// URLs in Node; the browser
|
|
2
|
+
// branch fetches the same URL relative to the module.
|
|
4
3
|
export default {
|
|
5
|
-
wasm_path:
|
|
4
|
+
wasm_path: new URL("./nucleation.wasm", import.meta.url),
|
|
6
5
|
};
|
package/index.d.mts
CHANGED
|
@@ -58,6 +58,8 @@ export { Field3 } from "./Field3.mjs"
|
|
|
58
58
|
|
|
59
59
|
export { Geo } from "./Geo.mjs"
|
|
60
60
|
|
|
61
|
+
export { TickSimulation } from "./TickSimulation.mjs"
|
|
62
|
+
|
|
61
63
|
export { ChunkMeshResult } from "./ChunkMeshResult.mjs"
|
|
62
64
|
|
|
63
65
|
export { ItemModelConfig } from "./ItemModelConfig.mjs"
|
|
@@ -156,6 +158,8 @@ export { WorldStream } from "./WorldStream.mjs"
|
|
|
156
158
|
|
|
157
159
|
export { InterpolationSpace } from "./InterpolationSpace.mjs"
|
|
158
160
|
|
|
161
|
+
export { TickSettleMode } from "./TickSettleMode.mjs"
|
|
162
|
+
|
|
159
163
|
export { MeshPhase } from "./MeshPhase.mjs"
|
|
160
164
|
|
|
161
165
|
export { FieldProgramBinaryOp } from "./FieldProgramBinaryOp.mjs"
|
package/index.d.ts
CHANGED
|
@@ -58,6 +58,8 @@ export { Field3 } from "./Field3.mjs"
|
|
|
58
58
|
|
|
59
59
|
export { Geo } from "./Geo.mjs"
|
|
60
60
|
|
|
61
|
+
export { TickSimulation } from "./TickSimulation.mjs"
|
|
62
|
+
|
|
61
63
|
export { ChunkMeshResult } from "./ChunkMeshResult.mjs"
|
|
62
64
|
|
|
63
65
|
export { ItemModelConfig } from "./ItemModelConfig.mjs"
|
|
@@ -156,6 +158,8 @@ export { WorldStream } from "./WorldStream.mjs"
|
|
|
156
158
|
|
|
157
159
|
export { InterpolationSpace } from "./InterpolationSpace.mjs"
|
|
158
160
|
|
|
161
|
+
export { TickSettleMode } from "./TickSettleMode.mjs"
|
|
162
|
+
|
|
159
163
|
export { MeshPhase } from "./MeshPhase.mjs"
|
|
160
164
|
|
|
161
165
|
export { FieldProgramBinaryOp } from "./FieldProgramBinaryOp.mjs"
|
package/index.mjs
CHANGED
|
@@ -56,6 +56,8 @@ export { Field3 } from "./Field3.mjs"
|
|
|
56
56
|
|
|
57
57
|
export { Geo } from "./Geo.mjs"
|
|
58
58
|
|
|
59
|
+
export { TickSimulation } from "./TickSimulation.mjs"
|
|
60
|
+
|
|
59
61
|
export { ChunkMeshResult } from "./ChunkMeshResult.mjs"
|
|
60
62
|
|
|
61
63
|
export { ItemModelConfig } from "./ItemModelConfig.mjs"
|
|
@@ -154,6 +156,8 @@ export { WorldStream } from "./WorldStream.mjs"
|
|
|
154
156
|
|
|
155
157
|
export { InterpolationSpace } from "./InterpolationSpace.mjs"
|
|
156
158
|
|
|
159
|
+
export { TickSettleMode } from "./TickSettleMode.mjs"
|
|
160
|
+
|
|
157
161
|
export { MeshPhase } from "./MeshPhase.mjs"
|
|
158
162
|
|
|
159
163
|
export { FieldProgramBinaryOp } from "./FieldProgramBinaryOp.mjs"
|
|
@@ -177,4 +181,4 @@ export { GeneratedChunkOverlayMode } from "./GeneratedChunkOverlayMode.mjs"
|
|
|
177
181
|
import wasm from "./diplomat-wasm.mjs";
|
|
178
182
|
import {FUNCTION_PARAM_ALLOC, internalConstructor} from "./diplomat-runtime.mjs";
|
|
179
183
|
|
|
180
|
-
FUNCTION_PARAM_ALLOC.reserve(internalConstructor, wasm,
|
|
184
|
+
FUNCTION_PARAM_ALLOC.reserve(internalConstructor, wasm, 64);
|
package/nucleation.wasm
CHANGED
|
Binary file
|