@adatechnology/game-vehicles-fleet 11.0.3 → 12.0.0
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/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/index.global.js
CHANGED
|
@@ -5095,6 +5095,11 @@ var GameVehiclesFleet = (() => {
|
|
|
5095
5095
|
}
|
|
5096
5096
|
|
|
5097
5097
|
// ../game-vehicles/dist/index.js
|
|
5098
|
+
var CABIN_PARTS = {
|
|
5099
|
+
seat: { id: "seats", material: "fabric" },
|
|
5100
|
+
trim: { id: "dashboard", material: "plastic" }
|
|
5101
|
+
};
|
|
5102
|
+
var CABIN_PART_IDS = new Set(Object.values(CABIN_PARTS).map((p) => p.id));
|
|
5098
5103
|
var SHUT_LINE_RADIUS = 2e-3;
|
|
5099
5104
|
var SHUT_LINE_LIFT = 8e-4;
|
|
5100
5105
|
var SHUT_LINE_STEPS = 36;
|
|
@@ -5250,6 +5255,7 @@ var GameVehiclesFleet = (() => {
|
|
|
5250
5255
|
};
|
|
5251
5256
|
var CAUSE_OF_EMITTER = { white: SmokeCause.STEAM, oil: SmokeCause.OIL, black: SmokeCause.FIRE };
|
|
5252
5257
|
var LIFT = { [SmokeCause.STEAM]: 0.5, [SmokeCause.OIL]: 0.45, [SmokeCause.FIRE]: 0.6 };
|
|
5258
|
+
var DROP_GATE_OPEN = Math.PI / 2;
|
|
5253
5259
|
var LID_OUTWARD = [-Math.SQRT1_2, Math.SQRT1_2, 0];
|
|
5254
5260
|
var cabin_default = {
|
|
5255
5261
|
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)",
|
|
@@ -6066,6 +6072,7 @@ var GameVehiclesFleet = (() => {
|
|
|
6066
6072
|
return pl;
|
|
6067
6073
|
};
|
|
6068
6074
|
K.lid = function(pts0) {
|
|
6075
|
+
c.meta.lidSeam = pts0;
|
|
6069
6076
|
const pts = [];
|
|
6070
6077
|
pts0.forEach(function(q, i) {
|
|
6071
6078
|
const n = pts0[i + 1];
|
|
@@ -15265,6 +15272,7 @@ var GameVehiclesFleet = (() => {
|
|
|
15265
15272
|
return pl;
|
|
15266
15273
|
};
|
|
15267
15274
|
K.lid = function(pts) {
|
|
15275
|
+
c.meta.lidSeam = pts;
|
|
15268
15276
|
const P = pts.map(function(q) {
|
|
15269
15277
|
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");
|
|
15270
15278
|
return h ? h.p.addScaledVector(h.n, 3e-3) : null;
|