@korial29/tiny-fps 1.6.2 → 1.7.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.
@@ -71,7 +71,7 @@ export declare const FRAG: string;
71
71
  * Highline, the ninja's 1.9 ms on three astronauts at 3 m on the moon. `rock` is the GLSL of the
72
72
  * map's rocks under BEACH (Decor.rock: Landfall's granite, from its chunk).
73
73
  */
74
- export declare const fragOf: (def: Pick<WorldDef, "scenery" | "seam" | "relief" | "helmets">, kind?: string, rock?: string) => string;
74
+ export declare const fragOf: (def: Pick<WorldDef, "scenery" | "seam" | "relief" | "helmets"> & Partial<Pick<WorldDef, "brushes">>, kind?: string, rock?: string) => string;
75
75
  /**
76
76
  * Column-major view-projection matrix of basis(yaw, pitch, roll) at eye. t is the tangent of half the
77
77
  * 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": "1.6.2",
5
+ "version": "1.7.0",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"