softbox 4.15.3 → 4.16.0

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.d.cts CHANGED
@@ -157,8 +157,9 @@ export declare interface DirectionalLightOptions {
157
157
  height: number;
158
158
  };
159
159
  /**
160
- * Orthographic frustum: left/right/top/bottom are overridden by the
161
- * auto-fit on load; near/far keep their configured values.
160
+ * Orthographic frustum: every plane (left/right/top/bottom AND near/far)
161
+ * is overridden by the auto-fit on load, so the shadow-map texel density
162
+ * and the bias's world-space offset both scale with the model.
162
163
  */
163
164
  camera?: {
164
165
  near?: number;
package/dist/index.d.ts CHANGED
@@ -157,8 +157,9 @@ export declare interface DirectionalLightOptions {
157
157
  height: number;
158
158
  };
159
159
  /**
160
- * Orthographic frustum: left/right/top/bottom are overridden by the
161
- * auto-fit on load; near/far keep their configured values.
160
+ * Orthographic frustum: every plane (left/right/top/bottom AND near/far)
161
+ * is overridden by the auto-fit on load, so the shadow-map texel density
162
+ * and the bias's world-space offset both scale with the model.
162
163
  */
163
164
  camera?: {
164
165
  near?: number;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DqCCAxUN.cjs");exports.ControlType=e.ControlType;exports.ErrorCode=e.ErrorCode;exports.Hotspot=e.Hotspot;exports.SimpleViewer=e.SimpleViewerWrapper;exports.ThreeViewerError=e.ThreeViewerError;exports.TypedEventEmitter=e.TypedEventEmitter;exports.VIEWER_PRESETS=e.VIEWER_PRESETS;exports.defaultOptions=e.defaultOptions;exports.resolvePreset=e.resolvePreset;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CAut-lTo.cjs");exports.ControlType=e.ControlType;exports.ErrorCode=e.ErrorCode;exports.Hotspot=e.Hotspot;exports.SimpleViewer=e.SimpleViewerWrapper;exports.ThreeViewerError=e.ThreeViewerError;exports.TypedEventEmitter=e.TypedEventEmitter;exports.VIEWER_PRESETS=e.VIEWER_PRESETS;exports.defaultOptions=e.defaultOptions;exports.resolvePreset=e.resolvePreset;
@@ -1,4 +1,4 @@
1
- import { f as s, E as o, H as a, h as t, e as E, T as i, V as p, i as T, r as l } from "./index-Dl34rX-T.js";
1
+ import { f as s, E as o, H as a, h as t, e as E, T as i, V as p, i as T, r as l } from "./index-BLxByrSR.js";
2
2
  export {
3
3
  s as ControlType,
4
4
  o as ErrorCode,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "softbox",
3
3
  "private": false,
4
- "version": "4.15.3",
4
+ "version": "4.16.0",
5
5
  "homepage": "https://leming.github.io/softbox/",
6
6
  "type": "module",
7
7
  "description": "Batteries-included React 3D viewer — any GLB looks studio-shot in one line",