@adatechnology/game-vehicles-three 0.3.6 → 0.3.7
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 +139 -35
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
package/dist/index.js
CHANGED
|
@@ -303,6 +303,7 @@ function markDamageables(c, damageables) {
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
// src/test-area/module.ts
|
|
306
|
+
import { discardObject3D } from "@adatechnology/game-shapes-three";
|
|
306
307
|
import { footprintBlocker } from "@adatechnology/game-contracts";
|
|
307
308
|
import { buildVehicleItem, createVehicleDestructible, createVehicleKit } from "@adatechnology/game-vehicles";
|
|
308
309
|
import { createArcadeDriver as createArcadeDriver2, createSemiSimDriver as createSemiSimDriver2, createSurfaces as createSurfaces2, vehicleCorners as vehicleCorners2 } from "@adatechnology/game-vehicles-driving";
|
|
@@ -880,10 +881,10 @@ function createVehiclesTestModule(options = {}) {
|
|
|
880
881
|
};
|
|
881
882
|
const clearHelpers = () => {
|
|
882
883
|
for (const entry of placed.values()) {
|
|
883
|
-
|
|
884
|
+
discardObject3D(entry.helpers);
|
|
884
885
|
entry.helpers = [];
|
|
885
886
|
}
|
|
886
|
-
|
|
887
|
+
discardObject3D(axes);
|
|
887
888
|
axes = [];
|
|
888
889
|
helpersShown = "";
|
|
889
890
|
};
|