@adatechnology/game-urban-three 0.3.12 → 0.3.14
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.
- package/dist/index.global.js +2 -2
- package/dist/index.global.js.map +1 -1
- package/package.json +6 -6
package/dist/index.global.js
CHANGED
|
@@ -25982,7 +25982,7 @@ gl_Position = projectionMatrix * mvPosition;
|
|
|
25982
25982
|
off: 3e-3,
|
|
25983
25983
|
nv: 4
|
|
25984
25984
|
});
|
|
25985
|
-
skin(c, Gd, o.refl || REFL, { u0: pu, u1: 1 - pu, yb, yt, off: 6e-3, nv: 4 });
|
|
25985
|
+
const reflector = skin(c, Gd, o.refl || REFL, { u0: pu, u1: 1 - pu, yb, yt, off: 6e-3, nv: 4 });
|
|
25986
25986
|
(o.proj || []).forEach(function(q) {
|
|
25987
25987
|
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);
|
|
25988
25988
|
const cup = onSurf(c.cylinder(rad * 1.35, rad * 1.2, 0.012, LH, 0, 0, 0), s, 8e-3);
|
|
@@ -26013,7 +26013,7 @@ gl_Position = projectionMatrix * mvPosition;
|
|
|
26013
26013
|
lens.push(ln);
|
|
26014
26014
|
if (!inner2.length) inner2.push(ln);
|
|
26015
26015
|
const cs = Gd.at(0.5, (rg[0] + rg[1]) / 2).p;
|
|
26016
|
-
regLight(c, "headlight", o.label || (sd > 0 ? trl("labels.right_headlight") : trl("labels.left_headlight")), inner2, lens, cs);
|
|
26016
|
+
Object.assign(regLight(c, "headlight", o.label || (sd > 0 ? trl("labels.right_headlight") : trl("labels.left_headlight")), inner2, lens, cs), { reflector: [reflector] });
|
|
26017
26017
|
return Gd;
|
|
26018
26018
|
};
|
|
26019
26019
|
K.tail = function(sd, o) {
|