@korial29/tiny-fps 0.130.0 → 0.130.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.
@@ -23,6 +23,8 @@ interface Region {
23
23
  man?: boolean;
24
24
  /** A round plate: its outline an ellipse in (angle, height), [half the angle, middle height, half height]. */
25
25
  round?: [number, number, number];
26
+ /** Moulded: a smooth shell round the trunk rather than the skin's facets (moulding()). */
27
+ mould?: boolean;
26
28
  }
27
29
  /**
28
30
  * The chest plate's pecs (the user, 2026-11-10: fuller toward the bottom, then the round part too
@@ -52,6 +54,15 @@ export declare const SHOULDER: {
52
54
  y: number;
53
55
  h: number;
54
56
  };
57
+ /**
58
+ * The chest plate's outer corners go round under the armpits (the user, 2026-11-12: a triangle came
59
+ * through the plate under the armpit): the shoulder's skin stands out of the trunk's at the split
60
+ * (1.41 m, skin.ts), and the plate over it was pierced. Its top falls to `y` between the angles `a`.
61
+ */
62
+ export declare const ARMPIT: {
63
+ a: number[];
64
+ y: number;
65
+ };
55
66
  /**
56
67
  * The man's shoulder piece (the user, 2026-11-11: no pad standing over the shoulder, a light and
57
68
  * simple piece that covers its shape, joining the collar piece in front to the shoulder blade's
@@ -69,6 +80,17 @@ export declare const GAP = 0.02;
69
80
  export declare const REGIONS: Region[];
70
81
  /** The scratches' colours on coloured plates: the white under the paint, and paler. */
71
82
  export declare const SCRATCHED: number[][];
83
+ /**
84
+ * Her breasts on the shell (the user, 2026-11-12: a uniform dome each, a little bigger): a round
85
+ * dome each side, `h` out at its middle (x, y) and falling to nothing `r` away, smooth at its rim;
86
+ * it stands in for the skin's bust and bust()'s cups.
87
+ */
88
+ export declare const DOME: {
89
+ x: number;
90
+ y: number;
91
+ r: number;
92
+ h: number;
93
+ };
72
94
  /**
73
95
  * Appends the armour cut out of the skin `s` drawn into `out` from the float `from` on (skin()
74
96
  * writes three vertices per triangle of s.t, in order). Not `fine` (a runner not close by), curved
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.130.0",
5
+ "version": "0.130.1",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"