@adatechnology/game-vehicles 0.4.0 → 0.4.2
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 +53 -45
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1395,6 +1395,7 @@ function installGeometry(kit) {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
|
|
1397
1397
|
// src/context.ts
|
|
1398
|
+
import { markKitOrigin } from "@adatechnology/game-contracts";
|
|
1398
1399
|
function installContext(kit) {
|
|
1399
1400
|
const THREE = kit.THREE;
|
|
1400
1401
|
const V3 = THREE.Vector3;
|
|
@@ -1414,6 +1415,7 @@ function installContext(kit) {
|
|
|
1414
1415
|
this.effects = new THREE.Group();
|
|
1415
1416
|
this.root.add(this.vehicle);
|
|
1416
1417
|
this.root.add(this.effects);
|
|
1418
|
+
markKitOrigin(this.root, { owner: "game-vehicles", kind: "vehicle" });
|
|
1417
1419
|
this.state = state;
|
|
1418
1420
|
this.glass = [];
|
|
1419
1421
|
this.quads = [];
|