@korial29/tiny-fps 0.130.1 → 0.130.2

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.
@@ -14,9 +14,9 @@ interface Region {
14
14
  swell?: (x: number, y: number) => number;
15
15
  /** Where its angles are measured from, degrees (0 the front): 180 for a plate on the back. */
16
16
  face?: number;
17
- /** Its bottom and top at each angle (degrees from the front, + outward), when not level: a leg's opening. */
18
- low?: (a: number) => number;
19
- high?: (a: number) => number;
17
+ /** Its bottom and top at each angle (degrees from the front, + outward) or rest point, when not level: a leg's opening. */
18
+ low?: (a: number, c: Corner) => number;
19
+ high?: (a: number, c: Corner) => number;
20
20
  /** Only on the woman's skin. */
21
21
  fem?: boolean;
22
22
  /** Only on the man's. */
@@ -54,6 +54,21 @@ export declare const SHOULDER: {
54
54
  y: number;
55
55
  h: number;
56
56
  };
57
+ /**
58
+ * The briefs (the user, 2026-11-10: round the hips under the belt, the leg's opening rising from the
59
+ * crotch to the hip and lower behind, never between the thighs; 2026-11-12: thinner on the sides,
60
+ * and no glitches). One opening line for all their pieces, the band on the trunk and the piece on
61
+ * each thigh, by the angle of the rest point round the trunk (0 the front, 180 the back, either
62
+ * side): the pieces met at the border of the trunk's skin and the legs' (0.93 m) on two lines that
63
+ * did not agree, and left gaps, overlaps and slivers there. Lowest at the crotch, before and
64
+ * behind, it rises to `side`, under the band's top (0.982), between the angles `at`.
65
+ */
66
+ export declare const BRIEFS: {
67
+ front: number;
68
+ back: number;
69
+ side: number;
70
+ at: number[];
71
+ };
57
72
  /**
58
73
  * The chest plate's outer corners go round under the armpits (the user, 2026-11-12: a triangle came
59
74
  * through the plate under the armpit): the shoulder's skin stands out of the trunk's at the split
@@ -78,6 +93,8 @@ export declare const BAND: {
78
93
  /** The gap the user asked between the chest plate and the belly's plates, and between those. */
79
94
  export declare const GAP = 0.02;
80
95
  export declare const REGIONS: Region[];
96
+ /** A corner being clipped: its place at rest, its weights of its skin triangle's corners, its normal at rest, then the limits it lies on (BITS). */
97
+ type Corner = number[];
81
98
  /** The scratches' colours on coloured plates: the white under the paint, and paler. */
82
99
  export declare const SCRATCHED: number[][];
83
100
  /**
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.1",
5
+ "version": "0.130.2",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"