@korial29/tiny-fps 0.108.0 → 0.109.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.
@@ -69,5 +69,5 @@ export declare const SIT: {
69
69
  * trunk and the legs follow the knock.
70
70
  */
71
71
  export declare const MOVES: number[][];
72
- /** `bow` is the guard's lean forward: none for the eye's own body, whose arms hold to the view. */
72
+ /** `bow` is the guard's lean forward: none for the eye's own body, whose arms hold to the view and which stands in no sword guard. */
73
73
  export declare const createGait: (bow?: number) => Gait;
@@ -51,6 +51,13 @@ export declare const body: (lod: number) => Skin;
51
51
  * glowing cut face whose middle is the last vertex of the last triangle. Built once.
52
52
  */
53
53
  export declare const cut: (lod: number, limb: number) => Skin[];
54
+ /**
55
+ * The turn of the shoulder plate of shoulder joint `j`: on the collarbone, it goes with a share of
56
+ * the upper arm's swing, all of it as the arm comes up over the shoulder, and with none of its
57
+ * turn about itself, as a plate strapped to the trunk does (the user, 2026-11-10: it rode a
58
+ * reaching arm round to the front of the chest).
59
+ */
60
+ export declare const capped: (rot: Quat[], j: number) => Quat;
54
61
  /**
55
62
  * Appends the skin in the pose `solved` (see solve()) to `out` as triangles in the renderer's
56
63
  * vertex format, each in its palette colour: a vertex goes where the two joints it hangs on would
@@ -53,8 +53,8 @@ export declare const POCKET: Vec3;
53
53
  /** How far a runner has his long gun down to the low ready, 0 to 1: in a sprint, when he is not firing. */
54
54
  export declare const lowered: (r: Runner) => number;
55
55
  /**
56
- * The pose with the katana in both hands: carried, or in a cut, which is the first person's cut
57
- * seen from the runner's eye (the share `e` of it, so that it is drawn from the carry and back to
56
+ * The pose with the katana in both hands: in the guard, or in a cut, which is the first person's cut
57
+ * seen from the runner's eye (the share `e` of it, so that it is drawn from the guard and back to
58
58
  * it), and the trunk twisting, bending and leaning through it (trunk()).
59
59
  */
60
60
  export declare const brandish: (from: Pose, p: PlayerState, prog: number, ph: number, t?: number) => Pose;
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.108.0",
5
+ "version": "0.109.0",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"