@dice-o-rolla/dice-physics 0.3.0 → 0.4.0

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +1 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -67,6 +67,7 @@ export interface PhysicsWorld {
67
67
  drainImpactEvents(): readonly PhysicsImpactEvent[];
68
68
  step(dtSeconds: number): void;
69
69
  removeDie(id: string): void;
70
+ /** Remove dynamic bodies and restore the configured world to a clean simulation baseline. */
70
71
  clear(): void;
71
72
  destroy(): void;
72
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dice-o-rolla/dice-physics",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Renderer-neutral dice physics contracts, throw generation, and settling policy.",
5
5
  "keywords": [
6
6
  "dice",
@@ -40,7 +40,7 @@
40
40
  "registry": "https://registry.npmjs.org/"
41
41
  },
42
42
  "dependencies": {
43
- "@dice-o-rolla/dice-core": "0.3.0"
43
+ "@dice-o-rolla/dice-core": "0.4.0"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=20.0.0"