@korial29/tiny-fps 0.192.1 → 0.192.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.
@@ -61,10 +61,15 @@ export declare const POST_FRAG = "#version 300 es\nprecision highp float;uniform
61
61
  export declare const SPEC: number[][];
62
62
  export declare const FRAG: string;
63
63
  /**
64
- * The scene's fragment shader for a map: the moon's globe, stars, craters and orbit fade only where
65
- * the map has them. Left in on another map, never run, they still cost Highline 2.4 ms of GPU a frame.
64
+ * The scene's fragment shader for a map and for what it draws: the moon's globe, stars, craters and
65
+ * orbit fade only where the map has them, the ninja's quilting, cloth, boots and brushed metal only
66
+ * where he is offered (rolesOf()). `LAND` is the map and the sky
67
+ * (the regolith, no skin, armour, hair or chitin), `FLESH` the runners, the vehicles and the
68
+ * effects (no regolith), `ORB` the globe alone; with none, all of it. Left in where it never runs,
69
+ * code still costs every pixel through the shader's registers: the moon 2.4 ms of GPU a frame on
70
+ * Highline, the ninja's 1.9 ms on three astronauts at 3 m on the moon.
66
71
  */
67
- export declare const fragOf: (def: Pick<WorldDef, "scenery" | "seam" | "relief">) => string;
72
+ export declare const fragOf: (def: Pick<WorldDef, "scenery" | "seam" | "relief" | "helmets">, kind?: string) => string;
68
73
  /**
69
74
  * Column-major view-projection matrix of basis(yaw, pitch, roll) at eye. t is the tangent of half the
70
75
  * vertical field of view (70° by default), [N, F] the near and far clip distances.
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.192.1",
5
+ "version": "0.192.3",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"