@korial29/tiny-fps 1.4.5 → 1.4.6

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,6 +14,11 @@ export declare const packsOf: (all?: readonly Vec3[], mask?: number, from?: numb
14
14
  /** A rack's rotating rigid weapon, made once in model space. */
15
15
  export declare const rackWeapon: (kind: number) => import("./store").Mesh;
16
16
  export declare const rack: (out: Out, at: Vec3, rgb: number[], t: number, kind?: number, pieces?: Pieces) => void;
17
+ /**
18
+ * The stand's colour: every rack serves both teams, so it is a neutral yellow rather than a team's
19
+ * red or blue.
20
+ */
21
+ export declare const RACK_RGB: number[];
17
22
  /** Each team's gun rack, katana rack, rail gun rack and laser rifle rack, where it has them. */
18
23
  export declare const racks: (out: Out, guns?: readonly (Vec3 | undefined)[], blades?: readonly (Vec3 | undefined)[], t?: number, rails?: readonly (Vec3 | undefined)[], rifles?: readonly (Vec3 | undefined)[], pieces?: Pieces) => void;
19
24
  /** A health pack at `at`: a white box with a glowing green cross on each side. */
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.4.5",
5
+ "version": "1.4.6",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"