@adatechnology/game-urban 0.7.3 → 0.7.4
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 +7 -6
- package/dist/index.global.js.map +1 -1
- package/package.json +3 -3
package/dist/index.global.js
CHANGED
|
@@ -12053,7 +12053,7 @@ var GameUrban = (() => {
|
|
|
12053
12053
|
frameR: 9e-3
|
|
12054
12054
|
});
|
|
12055
12055
|
const e = K.grid(1, 0, { z1: 0.1, y0: 0.64, y1: 0.72, du: 0.03, dv: 0.03 }).at(0.5, 0.67);
|
|
12056
|
-
kit.emblem(c2, e.p.x + 0.
|
|
12056
|
+
kit.emblem(c2, e.p.x + 0.018, 0.67, 0, 0.045);
|
|
12057
12057
|
const bg = c2.meta.frontBumper.userData.grid;
|
|
12058
12058
|
c2.deform.push(K.skin(bg, MT.rubber, { u0: 0.02, u1: 0.98, yb: 0.37, yt: 0.405, off: 0.02, nv: 1 }));
|
|
12059
12059
|
},
|
|
@@ -23052,8 +23052,8 @@ var GameUrban = (() => {
|
|
|
23052
23052
|
return b;
|
|
23053
23053
|
}
|
|
23054
23054
|
function plateMoto(c, x, y, txt) {
|
|
23055
|
-
c.roundBox(0.02, 0.15, 0.2, 8e-3, MT.trim, x +
|
|
23056
|
-
c.text(txt || kit.config.plate.slice(0, 5), 0.2, 0.135, x -
|
|
23055
|
+
c.roundBox(0.02, 0.15, 0.2, 8e-3, MT.trim, x + 7e-3, y, 0);
|
|
23056
|
+
c.text(txt || kit.config.plate.slice(0, 5), 0.2, 0.135, x - 5e-3, y, 0, "-x", {
|
|
23057
23057
|
w: 300,
|
|
23058
23058
|
h: 220,
|
|
23059
23059
|
bg: "#f2f2ee",
|
|
@@ -23167,8 +23167,8 @@ var GameUrban = (() => {
|
|
|
23167
23167
|
d.position.z = s * hw * 0.72;
|
|
23168
23168
|
g.add(d);
|
|
23169
23169
|
for (let q = 0; q < 12; q++) {
|
|
23170
|
-
const a2 = q / 12 * PI * 2, sl = new THREE.Mesh(G.roundedBox(rimR * 0.42, 0.016, 6e-3,
|
|
23171
|
-
sl.position.set(Math.cos(a2) * rimR * 0.62, Math.sin(a2) * rimR * 0.62, s * (hw * 0.72 + 0.
|
|
23170
|
+
const a2 = q / 12 * PI * 2, sl = new THREE.Mesh(G.roundedBox(rimR * 0.42, 0.016, 6e-3, 2e-3), o.slot || CM("#1c1e21", { metalness: 0.5, roughness: 0.4 }));
|
|
23171
|
+
sl.position.set(Math.cos(a2) * rimR * 0.62, Math.sin(a2) * rimR * 0.62, s * (hw * 0.72 + 0.013));
|
|
23172
23172
|
sl.rotation.z = a2;
|
|
23173
23173
|
g.add(sl);
|
|
23174
23174
|
}
|
|
@@ -28138,7 +28138,8 @@ var GameUrban = (() => {
|
|
|
28138
28138
|
tailLightY: 2.06,
|
|
28139
28139
|
noAntenna: true,
|
|
28140
28140
|
hl: { style: "round", w: 0.2, h: 0.2, y: 2.03, in: 0.12, yaw: 0 },
|
|
28141
|
-
|
|
28141
|
+
/* the badge is this truck's foremost point: 9 mm back, where it was before its layers grew 7 mm and the grille came 2 mm ahead (the length the team measured) */
|
|
28142
|
+
grille: { style: "bars", w: 1, h: 0.3, y: 2, emblemBack: 9e-3 },
|
|
28142
28143
|
tl: { style: "vertical", w: 0.12, h: 0.28, y: 2.06, in: 0 },
|
|
28143
28144
|
interior: { rows: 1, col: "#202224", trim: "#141516", front: "bench" },
|
|
28144
28145
|
hood: { motor: "v8" },
|