@adatechnology/game-urban 0.3.12 → 0.3.13

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.
@@ -18763,7 +18763,7 @@ var GameUrban = (() => {
18763
18763
  off: 3e-3,
18764
18764
  nv: 4
18765
18765
  });
18766
- skin(c, Gd, o.refl || REFL, { u0: pu, u1: 1 - pu, yb, yt, off: 6e-3, nv: 4 });
18766
+ const reflector = skin(c, Gd, o.refl || REFL, { u0: pu, u1: 1 - pu, yb, yt, off: 6e-3, nv: 4 });
18767
18767
  (o.proj || []).forEach(function(q) {
18768
18768
  const r = sh(q[0]), y = (r[0] + r[1]) / 2 + (q[1] || 0), s = Gd.at(q[0], y), rad = q[2] || Math.min(0.034, (r[1] - r[0]) * 0.4);
18769
18769
  const cup = onSurf(c.cylinder(rad * 1.35, rad * 1.2, 0.012, LH, 0, 0, 0), s, 8e-3);
@@ -18794,7 +18794,7 @@ var GameUrban = (() => {
18794
18794
  lens.push(ln);
18795
18795
  if (!inner2.length) inner2.push(ln);
18796
18796
  const cs = Gd.at(0.5, (rg[0] + rg[1]) / 2).p;
18797
- regLight(c, "headlight", o.label || (sd > 0 ? trl("labels.right_headlight") : trl("labels.left_headlight")), inner2, lens, cs);
18797
+ Object.assign(regLight(c, "headlight", o.label || (sd > 0 ? trl("labels.right_headlight") : trl("labels.left_headlight")), inner2, lens, cs), { reflector: [reflector] });
18798
18798
  return Gd;
18799
18799
  };
18800
18800
  K.tail = function(sd, o) {