rayzee 3.13.1 → 4.7.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 +1 -1
- 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 +8 -2
- package/src/PathTracerApp.js +1 -1
package/dist/rayzee.es.js
CHANGED
|
@@ -12566,7 +12566,7 @@ var Fc = new Float32Array(3), Ic = {
|
|
|
12566
12566
|
}
|
|
12567
12567
|
}), window.renderer = this.renderer, await this.renderer.init(), n.setLTC(Re.init()), this.renderer.toneMapping = c, this.renderer.toneMappingExposure = 1;
|
|
12568
12568
|
let r = this.canvas.clientWidth, i = this.canvas.clientHeight;
|
|
12569
|
-
this.renderer.setPixelRatio(1), this._camera = new ge(
|
|
12569
|
+
this.renderer.setPixelRatio(1), this._camera = new ge(60, r / i || 1, .01, 1e3), this._camera.position.set(0, 0, 5), this.scene = new Oe(), this.meshScene = new Oe(), this._sceneHelpers = new Bt(), this._controls = new ze(this._camera, this.canvas), this._controls.screenSpacePanning = !0, this._controls.zoomToCursor = !0, this._controls.saveState(), this._sdf = new zs(), this.assetLoader = new pc(this.meshScene, this._camera, this._controls), this._setupFloorPlane(), this.assetLoader.setFloorPlane(this._floorPlane), this._controls.addEventListener("change", () => {
|
|
12570
12570
|
this.needsReset = !0, this.wake();
|
|
12571
12571
|
}), this._createStages();
|
|
12572
12572
|
let { clientWidth: a, clientHeight: o } = this.canvas;
|