@korial29/tiny-fps 0.162.0 → 0.162.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.
@@ -28,7 +28,8 @@ export declare const tress: (style: number, fine: boolean) => Float32Array<Array
28
28
  export declare const sway: (phase: number, speed: number, t: number) => Vec3;
29
29
  /**
30
30
  * The hair of `style` seen close, at rest in the head's frame, in the store's vertex format with,
31
- * in place of a colour, how light, how free (swayOf()), the layer and a phase: first the shell,
31
+ * in place of a colour, how light, how free (swayOf()), the layer and how far along (a card's
32
+ * root 0 to tip 1; below -1 the underlayer, -1 - how far down to its hem): first the shell,
32
33
  * drawn in a little and dark, the cards' underlayer (it fills what they leave, a phase of -1: it
33
34
  * only swings), then the cards (makeCards()). The store keeps it (hair()), and so does the CPU.
34
35
  */
@@ -58,7 +58,7 @@ export declare const ID: Quat;
58
58
  export declare const ORIGIN: Vec3;
59
59
  /**
60
60
  * How far the hair vertex at `v[i]` (closeOf() in hair.ts: its normal at 3, how free at 7, its
61
- * phase at 9) moves in the head's frame at the time `t`, swung by `sw` (sway()): a share of the
61
+ * layer at 8, how far along at 9) moves in the head's frame at the time `t`, swung by `sw` (sway()): a share of the
62
62
  * swing, and a flutter of its own on its phase, out from the head too; a phase of -1 only swings.
63
63
  * The scene's vertex shader does the same sums (mode 3).
64
64
  */
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.0",
5
+ "version": "0.162.2",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"