@adatechnology/game-urban 0.7.8 → 0.7.10
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 +8 -0
- package/dist/index.global.js.map +1 -1
- package/package.json +6 -6
package/dist/index.global.js
CHANGED
|
@@ -4544,6 +4544,11 @@ var GameUrban = (() => {
|
|
|
4544
4544
|
}
|
|
4545
4545
|
|
|
4546
4546
|
// ../game-vehicles/dist/index.js
|
|
4547
|
+
var CABIN_PARTS = {
|
|
4548
|
+
seat: { id: "seats", material: "fabric" },
|
|
4549
|
+
trim: { id: "dashboard", material: "plastic" }
|
|
4550
|
+
};
|
|
4551
|
+
var CABIN_PART_IDS = new Set(Object.values(CABIN_PARTS).map((p) => p.id));
|
|
4547
4552
|
var SHUT_LINE_RADIUS = 2e-3;
|
|
4548
4553
|
var SHUT_LINE_LIFT = 8e-4;
|
|
4549
4554
|
var SHUT_LINE_STEPS = 36;
|
|
@@ -4699,6 +4704,7 @@ var GameUrban = (() => {
|
|
|
4699
4704
|
};
|
|
4700
4705
|
var CAUSE_OF_EMITTER = { white: SmokeCause.STEAM, oil: SmokeCause.OIL, black: SmokeCause.FIRE };
|
|
4701
4706
|
var LIFT = { [SmokeCause.STEAM]: 0.5, [SmokeCause.OIL]: 0.45, [SmokeCause.FIRE]: 0.6 };
|
|
4707
|
+
var DROP_GATE_OPEN = Math.PI / 2;
|
|
4702
4708
|
var LID_OUTWARD = [-Math.SQRT1_2, Math.SQRT1_2, 0];
|
|
4703
4709
|
var cabin_default = {
|
|
4704
4710
|
source: "Spec 012 (R6, T0.2) \u2014 SAE J1100 interior packaging & ISO 7250-1 / NASA-STD-3000 adult anthropometry (1.80 m seated height = 0.936 m, buttock-knee = 0.612 m, shoulder = 0.468 m)",
|
|
@@ -10413,6 +10419,7 @@ var GameUrban = (() => {
|
|
|
10413
10419
|
return pl;
|
|
10414
10420
|
};
|
|
10415
10421
|
K.lid = function(pts0) {
|
|
10422
|
+
c.meta.lidSeam = pts0;
|
|
10416
10423
|
const pts = [];
|
|
10417
10424
|
pts0.forEach(function(q, i) {
|
|
10418
10425
|
const n = pts0[i + 1];
|
|
@@ -19604,6 +19611,7 @@ var GameUrban = (() => {
|
|
|
19604
19611
|
return pl;
|
|
19605
19612
|
};
|
|
19606
19613
|
K.lid = function(pts) {
|
|
19614
|
+
c.meta.lidSeam = pts;
|
|
19607
19615
|
const P = pts.map(function(q) {
|
|
19608
19616
|
const h = q.top ? S.hit(new V3(q.x, 3, q.z), new V3(0, -1, 0), "R") : S.hit(new V3(S.endX(-1, q.y) - 1, q.y, q.z), new V3(1, 0, 0), "R");
|
|
19609
19617
|
return h ? h.p.addScaledVector(h.n, 3e-3) : null;
|