@adatechnology/game-vehicles-fleet 11.0.3 → 13.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 +10 -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 +10 -10
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,9 @@ 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 VENT_SPREAD = 0.18;
|
|
5259
|
+
var PLUME_SCATTER = VENT_SPREAD + 0.08;
|
|
5260
|
+
var DROP_GATE_OPEN = Math.PI / 2;
|
|
5253
5261
|
var LID_OUTWARD = [-Math.SQRT1_2, Math.SQRT1_2, 0];
|
|
5254
5262
|
var cabin_default = {
|
|
5255
5263
|
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 +6074,7 @@ var GameVehiclesFleet = (() => {
|
|
|
6066
6074
|
return pl;
|
|
6067
6075
|
};
|
|
6068
6076
|
K.lid = function(pts0) {
|
|
6077
|
+
c.meta.lidSeam = pts0;
|
|
6069
6078
|
const pts = [];
|
|
6070
6079
|
pts0.forEach(function(q, i) {
|
|
6071
6080
|
const n = pts0[i + 1];
|
|
@@ -15265,6 +15274,7 @@ var GameVehiclesFleet = (() => {
|
|
|
15265
15274
|
return pl;
|
|
15266
15275
|
};
|
|
15267
15276
|
K.lid = function(pts) {
|
|
15277
|
+
c.meta.lidSeam = pts;
|
|
15268
15278
|
const P = pts.map(function(q) {
|
|
15269
15279
|
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
15280
|
return h ? h.p.addScaledVector(h.n, 3e-3) : null;
|