mbt-3d 0.4.7 → 0.4.8
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.ts +3 -0
- package/dist/mbt-3d.cjs +2 -2
- package/dist/mbt-3d.cjs.map +1 -1
- package/dist/mbt-3d.js +575 -557
- package/dist/mbt-3d.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -704,6 +704,7 @@ export declare interface RendererConfig {
|
|
|
704
704
|
* @param camera - Camera configuration object. Example: `{ position: [0, 2, 5], fov: 45 }`
|
|
705
705
|
* @param camera.position - Camera position as [x, y, z]. Example: `[0, 2, 5]`. Default: `[0, 2, 5]`
|
|
706
706
|
* @param camera.fov - Field of view in degrees. Example: `45`. Default: `45`
|
|
707
|
+
* @param camera.roll - Camera roll angle around viewing direction in degrees. Example: `45`. Default: `0`
|
|
707
708
|
* @param controls - OrbitControls configuration object. Example: `{ enablePan: false, minDistance: 2, maxDistance: 10 }`
|
|
708
709
|
* @param controls.enabled - Enable/disable all controls. Default: `true`
|
|
709
710
|
* @param controls.enablePan - Enable camera panning with middle mouse. Default: `true`
|
|
@@ -802,6 +803,8 @@ export declare interface Scene3DProps {
|
|
|
802
803
|
position?: [number, number, number];
|
|
803
804
|
/** Field of view in degrees. Default: 45 */
|
|
804
805
|
fov?: number;
|
|
806
|
+
/** Camera roll angle around view direction in degrees. Default: 0 */
|
|
807
|
+
roll?: number;
|
|
805
808
|
};
|
|
806
809
|
/** OrbitControls configuration for camera rotation */
|
|
807
810
|
controls?: {
|