@galacean/engine-physics-physx 1.1.0-beta.4 → 1.1.0-beta.6
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/browser.js +5 -0
- package/dist/browser.min.js +1 -1
- package/dist/main.js +5 -0
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +5 -0
- package/dist/module.js +8 -4
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
- package/types/index.d.ts +1 -0
package/dist/miniprogram.js
CHANGED
|
@@ -1422,4 +1422,9 @@ var InitializeState;
|
|
|
1422
1422
|
InitializeState[InitializeState["Initialized"] = 2] = "Initialized";
|
|
1423
1423
|
})(InitializeState || (InitializeState = {}));
|
|
1424
1424
|
|
|
1425
|
+
//@ts-ignore
|
|
1426
|
+
var version = "1.1.0-beta.6";
|
|
1427
|
+
console.log("Galacean PhysX version: " + version);
|
|
1428
|
+
|
|
1425
1429
|
exports.PhysXPhysics = PhysXPhysics;
|
|
1430
|
+
exports.version = version;
|
package/dist/module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Vector3, Quaternion, version } from '@galacean/engine';
|
|
1
|
+
import { Vector3, Quaternion, version as version$1 } from '@galacean/engine';
|
|
2
2
|
|
|
3
3
|
function _instanceof(left, right) {
|
|
4
4
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
@@ -1302,9 +1302,9 @@ var /**
|
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
1304
|
if (runtimeMode == PhysXRuntimeMode.JavaScript) {
|
|
1305
|
-
script.src = "https://gw.alipayobjects.com/os/lib/galacean/engine-physics-physx/" + version + "/libs/physx.release.js.js";
|
|
1305
|
+
script.src = "https://gw.alipayobjects.com/os/lib/galacean/engine-physics-physx/" + version$1 + "/libs/physx.release.js.js";
|
|
1306
1306
|
} else if (runtimeMode == PhysXRuntimeMode.WebAssembly) {
|
|
1307
|
-
script.src = "https://gw.alipayobjects.com/os/lib/galacean/engine-physics-physx/" + version + "/libs/physx.release.js";
|
|
1307
|
+
script.src = "https://gw.alipayobjects.com/os/lib/galacean/engine-physics-physx/" + version$1 + "/libs/physx.release.js";
|
|
1308
1308
|
}
|
|
1309
1309
|
});
|
|
1310
1310
|
var initializePromise = new Promise(function(resolve, reject) {
|
|
@@ -1417,5 +1417,9 @@ var InitializeState;
|
|
|
1417
1417
|
InitializeState[InitializeState["Initialized"] = 2] = "Initialized";
|
|
1418
1418
|
})(InitializeState || (InitializeState = {}));
|
|
1419
1419
|
|
|
1420
|
-
|
|
1420
|
+
//@ts-ignore
|
|
1421
|
+
var version = "1.1.0-beta.6";
|
|
1422
|
+
console.log("Galacean PhysX version: " + version);
|
|
1423
|
+
|
|
1424
|
+
export { PhysXPhysics, PhysXRuntimeMode, version };
|
|
1421
1425
|
//# sourceMappingURL=module.js.map
|