@korial29/tiny-fps 0.162.2 → 0.162.3

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.
@@ -303,6 +303,17 @@ export interface Recipe {
303
303
  t: number[];
304
304
  /** The triangles each kind of wearer has (armor()'s `ninja`, astronaut and `bare` bits), listed on first use. */
305
305
  k?: Int32Array[];
306
+ /** Their corners, each distinct one once (shared()), by the same wearer. */
307
+ s?: Shared[];
308
+ }
309
+ /**
310
+ * A wearer's corners, each distinct one once: its first number in the recipe's `c` and its turned
311
+ * weights (TURN bits) in `u`, two numbers a corner; in `x` the three of each triangle of its list.
312
+ * Next to each other, triangles share their corners, two or three times over on the marine.
313
+ */
314
+ interface Shared {
315
+ u: Int32Array;
316
+ x: Int32Array;
306
317
  }
307
318
  export declare const CORNER = 11;
308
319
  export declare const TRI = 6;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@korial29/tiny-fps",
3
3
  "description": "Tiny multiplayer first-person rooftop game for the browser: raw WebGL, zero runtime dependencies, WebSocket or same-browser multi-tab play.",
4
4
  "license": "Apache-2.0",
5
- "version": "0.162.2",
5
+ "version": "0.162.3",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"