rayzee 4.7.3 → 4.8.1
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/rayzee.es.js +6 -0
- package/dist/rayzee.es.js.map +1 -1
- package/dist/rayzee.umd.js +1 -1
- package/dist/rayzee.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/PathTracerApp.js +15 -0
package/dist/rayzee.es.js
CHANGED
|
@@ -12689,6 +12689,12 @@ var Fc = new Float32Array(3), Ic = {
|
|
|
12689
12689
|
url: e
|
|
12690
12690
|
});
|
|
12691
12691
|
}
|
|
12692
|
+
async loadObject3D(e, t = "object3d") {
|
|
12693
|
+
await this._loadWithSceneRebuild(() => this.assetLoader.loadObject3D(e, t), {
|
|
12694
|
+
type: "Object3DLoaded",
|
|
12695
|
+
name: t
|
|
12696
|
+
});
|
|
12697
|
+
}
|
|
12692
12698
|
async loadEnvironment(e) {
|
|
12693
12699
|
this._loadingInProgress = !0;
|
|
12694
12700
|
try {
|