@roomle/web-sdk 7.0.0-alpha.2 → 7.0.0-alpha.3

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.
Files changed (66) hide show
  1. package/THIRD-PARTY-NOTICES.txt +2 -2
  2. package/lib/ConfiguratorKernel.js +2 -2
  3. package/lib/ConfiguratorKernel.wasm +0 -0
  4. package/lib/RoomleCore.js +2 -2
  5. package/lib/RoomleCore.wasm +0 -0
  6. package/lib/RoomleToolsCore.wasm +0 -0
  7. package/lib/{api-DOHbOr7K.mjs → api-B_Mu7Mg1.mjs} +2 -2
  8. package/lib/{api-DOHbOr7K.mjs.map → api-B_Mu7Mg1.mjs.map} +1 -1
  9. package/lib/asset-loader.worker-Bdvb-pt7.mjs.map +1 -1
  10. package/lib/budgeteer.sw-ByZxiRBr.mjs.map +1 -1
  11. package/lib/{configuration-operations-DJD9A1xP.mjs → configuration-operations-C5rnDS8e.mjs} +10 -4
  12. package/lib/configuration-operations-C5rnDS8e.mjs.map +1 -0
  13. package/lib/{configurator-DCynrn7X.mjs → configurator-BeDJ8jD1.mjs} +3 -3
  14. package/lib/{configurator-DCynrn7X.mjs.map → configurator-BeDJ8jD1.mjs.map} +1 -1
  15. package/lib/{configurator-capabilities-BfSMwdWh.mjs → configurator-capabilities-C3TQUu_S.mjs} +2 -2
  16. package/lib/{configurator-capabilities-BfSMwdWh.mjs.map → configurator-capabilities-C3TQUu_S.mjs.map} +1 -1
  17. package/lib/configurator-capabilities-C42HYCCb.mjs +3 -0
  18. package/lib/{configurator-mcp-tools-D00ndjOy.mjs → configurator-mcp-tools-D7vZ7ozM.mjs} +3 -3
  19. package/lib/configurator-mcp-tools-D7vZ7ozM.mjs.map +1 -0
  20. package/lib/configurator-yctV6IDY.mjs +3 -0
  21. package/lib/{glb-viewer-BhiCqjpE.mjs → glb-viewer-BkU2Z-HJ.mjs} +3 -3
  22. package/lib/{glb-viewer-BhiCqjpE.mjs.map → glb-viewer-BkU2Z-HJ.mjs.map} +1 -1
  23. package/lib/glb-viewer-jt9mrYrF.mjs +3 -0
  24. package/lib/{homag-intelligence-DuFtYgdG.mjs → homag-intelligence-DboRA-Yd.mjs} +6 -3
  25. package/lib/homag-intelligence-DboRA-Yd.mjs.map +1 -0
  26. package/lib/kernel-2ku6lFfE.mjs.map +1 -1
  27. package/lib/{material-viewer-uEDqIbCx.mjs → material-viewer-BkaTt8Sn.mjs} +3 -3
  28. package/lib/{material-viewer-uEDqIbCx.mjs.map → material-viewer-BkaTt8Sn.mjs.map} +1 -1
  29. package/lib/{packages-DOCmEOxI.mjs → packages-DZzpY6V8.mjs} +5 -5
  30. package/lib/{packages-DOCmEOxI.mjs.map → packages-DZzpY6V8.mjs.map} +1 -1
  31. package/lib/planner-C7kZ9SKV.mjs +3 -0
  32. package/lib/{planner-D8UVNfkJ.mjs → planner-CuZaTB-P.mjs} +3 -3
  33. package/lib/{planner-D8UVNfkJ.mjs.map → planner-CuZaTB-P.mjs.map} +1 -1
  34. package/lib/roomle-headless.d.ts +130 -2
  35. package/lib/roomle-headless.js +8 -8
  36. package/lib/{roomle-sdk-C0YpFZdj.mjs → roomle-sdk-CSH3WHXV.mjs} +263 -235
  37. package/lib/roomle-sdk-CSH3WHXV.mjs.map +1 -0
  38. package/lib/roomle-sdk.d.ts +130 -2
  39. package/lib/roomle-sdk.js +6 -6
  40. package/lib/{roomle-webgpu-renderer-DZ9LaZfc.mjs → roomle-webgpu-renderer-D43bHxhT.mjs} +2 -2
  41. package/lib/{roomle-webgpu-renderer-DZ9LaZfc.mjs.map → roomle-webgpu-renderer-D43bHxhT.mjs.map} +1 -1
  42. package/lib/{runtime-Bz0u5ckH.mjs → runtime-D5zrHj-e.mjs} +181 -78
  43. package/lib/runtime-D5zrHj-e.mjs.map +1 -0
  44. package/lib/{script-loader-jRBMP-ca.mjs → script-loader-O8x5UOnP.mjs} +2 -2
  45. package/lib/{script-loader-jRBMP-ca.mjs.map → script-loader-O8x5UOnP.mjs.map} +1 -1
  46. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
  47. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.d.ts +8 -0
  48. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js.map +1 -1
  49. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.js +2 -2
  50. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  51. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.js +2 -2
  52. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  53. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  54. package/lib/{tools-core-k93qrqfB.mjs → tools-core-DJvn2gR6.mjs} +3 -3
  55. package/lib/{tools-core-k93qrqfB.mjs.map → tools-core-DJvn2gR6.mjs.map} +1 -1
  56. package/package.json +2 -2
  57. package/sbom.cdx.json +5 -5
  58. package/lib/configuration-operations-DJD9A1xP.mjs.map +0 -1
  59. package/lib/configurator-D5Ehj649.mjs +0 -3
  60. package/lib/configurator-capabilities-DAJuxSTw.mjs +0 -3
  61. package/lib/configurator-mcp-tools-D00ndjOy.mjs.map +0 -1
  62. package/lib/glb-viewer-BrggGLte.mjs +0 -3
  63. package/lib/homag-intelligence-DuFtYgdG.mjs.map +0 -1
  64. package/lib/planner-B9GbQLSB.mjs +0 -3
  65. package/lib/roomle-sdk-C0YpFZdj.mjs.map +0 -1
  66. package/lib/runtime-Bz0u5ckH.mjs.map +0 -1
@@ -1211,6 +1211,75 @@ export declare const CONFIGURATION_TYPE: {
1211
1211
  readonly EXTERNAL: 2;
1212
1212
  };
1213
1213
 
1214
+ /** Carries no credential: no API key, base URL, token or header. */
1215
+ export declare interface ConfigurationAssistantLog {
1216
+ provider: PlanningAssistantConfig['provider'];
1217
+ model: string;
1218
+ tools: AgentToolDefinition[];
1219
+ systemPrompts: Array<{
1220
+ rootComponentId: string | null;
1221
+ text: string;
1222
+ /** The text the model receives instead of an empty prompt with images. */
1223
+ imagePrompt: string;
1224
+ }>;
1225
+ turns: ConfigurationAssistantTurnLog[];
1226
+ }
1227
+
1228
+ /** A file's `data` is a data URL or base64. */
1229
+ export declare type ConfigurationAssistantLogContent = {
1230
+ type: 'text';
1231
+ text: string;
1232
+ } | {
1233
+ type: 'file';
1234
+ mediaType: string;
1235
+ data: string;
1236
+ };
1237
+
1238
+ export declare type ConfigurationAssistantLogEvent = {
1239
+ type: 'text';
1240
+ text: string;
1241
+ } | ConfigurationAssistantToolEvent;
1242
+
1243
+ export declare interface ConfigurationAssistantLogMessage {
1244
+ role: 'system' | 'user' | 'assistant' | 'tool';
1245
+ content: ConfigurationAssistantLogContent[];
1246
+ }
1247
+
1248
+ export declare interface ConfigurationAssistantToolEvent {
1249
+ type: 'tool';
1250
+ name: string;
1251
+ args: unknown;
1252
+ result?: McpToolResult;
1253
+ error?: string;
1254
+ }
1255
+
1256
+ export declare interface ConfigurationAssistantTurnLog {
1257
+ turn: number;
1258
+ startedAt: string;
1259
+ endedAt: string | null;
1260
+ /** The index of the turn's system prompt in `systemPrompts`; null when the turn ended before the prompts were read. */
1261
+ systemPrompt: number | null;
1262
+ /** Every message the turn adds to the model input besides the user's prompt, e.g. the configuration. */
1263
+ context: ConfigurationAssistantLogMessage[];
1264
+ prompt: PlanningAssistantPrompt;
1265
+ events: ConfigurationAssistantLogEvent[];
1266
+ outcome: 'running' | 'done' | 'error' | 'aborted';
1267
+ error: string | null;
1268
+ usage: ConfigurationAssistantTurnUsage | null;
1269
+ }
1270
+
1271
+ export declare interface ConfigurationAssistantTurnUsage {
1272
+ status: 'complete' | 'partial' | 'unavailable';
1273
+ inputTokens: number | null;
1274
+ outputTokens: number | null;
1275
+ totalTokens: number | null;
1276
+ promptBytes: number | null;
1277
+ configurationBytes: number | null;
1278
+ requestBytes: number[];
1279
+ cachedInputTokens: number | null;
1280
+ chained: boolean;
1281
+ }
1282
+
1214
1283
  export declare interface ConfigurationExporter {
1215
1284
  new (): ConfigurationExporter;
1216
1285
  init(): void;
@@ -1976,6 +2045,7 @@ export declare class ConfiguratorKernelAccess extends CommonKernelAccess {
1976
2045
  runtimeId: number;
1977
2046
  }>): KernelReplaceComponentResult | null;
1978
2047
  swapComponents(targetObjectId: number, firstRuntimeId: number, secondRuntimeId: number): void;
2048
+ moveComponent(targetObjectId: number, runtimeId: number, dockPair: KernelMoveComponentDockPair): void;
1979
2049
  setComponentParameter(runtimeId: number, parameterKey: string, value: string): void;
1980
2050
  setPlanObjectParameter(objectId: number, parameterKey: string, value: string): void;
1981
2051
  deleteComponent(runtimeId: number, redockChildrenToParent: boolean): void;
@@ -2133,6 +2203,7 @@ export declare interface ConfiguratorKernelClass {
2133
2203
  runtimeId: number;
2134
2204
  }>): KernelReplaceComponentResult | null;
2135
2205
  swapComponents(targetObjectId: number, firstRuntimeId: number, secondRuntimeId: number): void;
2206
+ moveComponent(targetObjectId: number, runtimeId: number, dockPair: KernelMoveComponentDockPair): void;
2136
2207
  getComponentParameters(componentId: number): KernelParameter[];
2137
2208
  getPlanComponentAnimations(planComponentId: number): KernelAnimation[];
2138
2209
  setComponentParameter(componentId: number, parameterKey: string, value: string): void;
@@ -4472,6 +4543,13 @@ export declare interface ExternalObjectAPI {
4472
4543
  * @param posGroupId The ID of the pos group.
4473
4544
  */
4474
4545
  getExternalObjectValidSubArticles(posGroupId?: string): PosArticle[];
4546
+ /**
4547
+ * "getExternalObjectArticleInfo" returns the ID, name and description of the article of a root module.
4548
+ * Returns `undefined` if the group or the root module is not known.
4549
+ * @param groupId The ID of the group of the root module.
4550
+ * @param rootModuleId The ID of the root module.
4551
+ */
4552
+ getExternalObjectArticleInfo(groupId: string, rootModuleId: string): Pick<PosArticleInfo, 'articleId' | 'articleName' | 'desc'> | undefined;
4475
4553
  /**
4476
4554
  * "selectExternalObjectSubArticle" selects a sub article in the planner.
4477
4555
  * @param subArticleId The ID of the sub article to be selected.
@@ -5283,6 +5361,7 @@ export declare interface GlueLogic {
5283
5361
  hiObjectSelection: HiObjectSelectionApi;
5284
5362
  isLibraryLoaded(libraryId: string): boolean;
5285
5363
  getLibraryData(libraryId: string): LibraryData | null;
5364
+ getGroup(groupId: string): GroupItem | undefined;
5286
5365
  addLibrary(libraryData: LibraryData): Promise<void>;
5287
5366
  setPosDataForLoading(posData: PosSaveData | null): Promise<void>;
5288
5367
  loadPosData(articleCatalogJson: any, libraryId: string): void;
@@ -5321,6 +5400,32 @@ export declare interface GlueLogic {
5321
5400
  getMaterialUrl(materialId: string, groupOrModuleId?: string): string | null;
5322
5401
  }
5323
5402
 
5403
+ export declare interface GroupItem {
5404
+ posDataJson: PosGroup;
5405
+ opened: boolean;
5406
+ /** Prevents concurrent calculations on this group. When true, modifications are blocked until the current calculation completes. */
5407
+ calculationInProgress: boolean;
5408
+ /** The running calculateAndUpdateGroupMap run; re-entrant calls await it instead of calculating again. */
5409
+ calculationPromise: Promise<PosGroup> | null;
5410
+ /**
5411
+ * The last stored calculation. The next one is compared against it to log
5412
+ * only the root modules the modification broke, since callers write their
5413
+ * modification into posDataJson before the calculation runs.
5414
+ */
5415
+ lastCalculatedPosDataJson?: PosGroup;
5416
+ pendingArrangement?: {
5417
+ originalGroup?: PosGroup;
5418
+ allowRepositioning: boolean;
5419
+ carrierOverrides?: Map<string, UnitAboveCarrier>;
5420
+ };
5421
+ /**
5422
+ * The load that follows has to ask the kernel to apply the group position:
5423
+ * the last calculation moved the group to keep its distance to the walls, or
5424
+ * kept it where it was while a root gained or lost its docking vectors.
5425
+ */
5426
+ appliesGroupPosition?: boolean;
5427
+ }
5428
+
5324
5429
  /**
5325
5430
  * Hand-typed overrides of core handler methods, re-typed against our model types
5326
5431
  * (PlanObject, KernelObject, …) which differ from core's. Everything not listed here
@@ -6791,6 +6896,7 @@ export declare interface Kernel {
6791
6896
  dockNewComponent(targetObjectId: number, dockingEntity: NewComponentDockingSource, dockPair: NewComponentDockPair): number;
6792
6897
  replaceComponent(targetObjectId: number, runtimeId: number, dockingEntity: NewComponentDockingSource): ReplaceComponentResult;
6793
6898
  swapComponents(targetObjectId: number, firstRuntimeId: number, secondRuntimeId: number): void;
6899
+ moveComponent(targetObjectId: number, runtimeId: number, dockPair: MoveComponentDockPair): void;
6794
6900
  setExternalMeshInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
6795
6901
  setAssetInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
6796
6902
  loadExternalAttributeDefinition(serializedDefinition: string): void;
@@ -7072,6 +7178,10 @@ export declare interface KernelMessageMetaInfo {
7072
7178
 
7073
7179
  export declare type KernelMessageType = ValuesFromObject<typeof KERNEL_MESSAGE_TYPE>;
7074
7180
 
7181
+ export declare interface KernelMoveComponentDockPair extends KernelDockPairTarget {
7182
+ childDockId: number;
7183
+ }
7184
+
7075
7185
  export declare interface KernelObject {
7076
7186
  extRef: EMSReference_2 | null;
7077
7187
  clone(): KernelObject;
@@ -7808,6 +7918,14 @@ export declare interface ModelExportOptions {
7808
7918
  filename?: string;
7809
7919
  }
7810
7920
 
7921
+ export declare interface MoveComponentDockPair {
7922
+ parentId: number;
7923
+ parentDockId: number;
7924
+ childDockId: number;
7925
+ position?: Vector3;
7926
+ insertInBetween?: boolean;
7927
+ }
7928
+
7811
7929
  export declare interface NeighboringObjectMeasurementInfo {
7812
7930
  bounds: Box3;
7813
7931
  id: number;
@@ -10046,7 +10164,7 @@ export declare interface PosGroup {
10046
10164
  */
10047
10165
  pos?: number[];
10048
10166
  /**
10049
- * The rotation on the vertical axis in degree (0-360)
10167
+ * The rotation on the vertical axis in degree, in [0°, 360°); 360° is written as 0°
10050
10168
  */
10051
10169
  rotationY?: number;
10052
10170
  /**
@@ -10119,7 +10237,7 @@ export declare interface PosModuleRootData extends PosModuleData, PosPositionInf
10119
10237
  */
10120
10238
  articlePos?: number[];
10121
10239
  /**
10122
- * Rotation on the vertical axis in degree (0-359)
10240
+ * Rotation on the vertical axis in degree, in [0°, 360°); 360° is written as 0°
10123
10241
  */
10124
10242
  rotationY?: number;
10125
10243
  logMessages: PosErrorMsg[];
@@ -11497,6 +11615,8 @@ export declare class RoomleConfigurator<P extends readonly PluginName[] = readon
11497
11615
  stopConfigurationAssistant(owner: string): Promise<void>;
11498
11616
  /** Dispatches one prompt to the SDK session or the custom host agent. */
11499
11617
  planningAssistantPrompt(prompt: PlanningAssistantPrompt): Promise<void>;
11618
+ /** The log of the configuration assistant's last started session; undefined without an SDK session. */
11619
+ getConfigurationAssistantReport(): ConfigurationAssistantLog | undefined;
11500
11620
  /** Lists the native configurator's tools, loaded on the first agent request. */
11501
11621
  getConfiguratorAgentTools(): Promise<AgentToolDefinition[]>;
11502
11622
  /** Executes an agent tool and returns its MCP-shaped result. */
@@ -12703,6 +12823,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
12703
12823
  [key: string]: string;
12704
12824
  }>;
12705
12825
  getExternalObjectValidSubArticles(posGroupId?: string): PosArticle[];
12826
+ getExternalObjectArticleInfo(groupId: string, rootModuleId: string): Pick<PosArticleInfo, 'articleId' | 'articleName' | 'desc'> | undefined;
12706
12827
  selectExternalObjectSubArticle(subArticleId: string): void;
12707
12828
  deleteExternalObjectSubArticle(posGroupId: string, subArticleId: string): Promise<void>;
12708
12829
  _mergeExternalObjects(groupIds: string[]): Promise<void>;
@@ -14184,6 +14305,13 @@ export declare const enum Unit_2 {
14184
14305
  CM = 2
14185
14306
  }
14186
14307
 
14308
+ /** The root a unit above moves with, and the root its place was relative to. */
14309
+ export declare interface UnitAboveCarrier {
14310
+ carrierId: string;
14311
+ /** The root the unit stood above before the change: the carrier, or a root that left. */
14312
+ referenceId: string;
14313
+ }
14314
+
14187
14315
  export declare class UnitFormatter implements Context {
14188
14316
  _creator_: string;
14189
14317
  _actualUnitString: string;
package/lib/roomle-sdk.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
2
- import { a as e, i as t, n, r, t as i } from "./packages-DOCmEOxI.mjs";
2
+ import { a as e, i as t, n, r, t as i } from "./packages-DZzpY6V8.mjs";
3
3
  import { i as a, t as o } from "./kernel-2ku6lFfE.mjs";
4
4
  import { Ot as s, Tt as c, wt as l } from "./threejs-utils-D1gtvxiA.mjs";
5
5
  import { D as u, g as d } from "./common-utils-zPOllvAT.mjs";
6
- import { A as f, G as p, J as m, K as h, O as g, V as _, X as v, Y as y, Z as b, _ as x, _t as S, b as C, bt as w, gt as T, ht as E, k as D, m as O, mt as k, o as A, p as j, pt as M, q as N, s as P, t as F, v as I, y as L, z as R } from "./roomle-sdk-C0YpFZdj.mjs";
7
- import { t as z } from "./configurator-DCynrn7X.mjs";
8
- import { t as B } from "./planner-D8UVNfkJ.mjs";
9
- import { n as V, t as H } from "./glb-viewer-BhiCqjpE.mjs";
10
- import { t as U } from "./api-DOHbOr7K.mjs";
6
+ import { A as f, G as p, J as m, K as h, O as g, V as _, X as v, Y as y, Z as b, _ as x, _t as S, b as C, bt as w, gt as T, ht as E, k as D, m as O, mt as k, o as A, p as j, pt as M, q as N, s as P, t as F, v as I, y as L, z as R } from "./roomle-sdk-CSH3WHXV.mjs";
7
+ import { t as z } from "./configurator-BeDJ8jD1.mjs";
8
+ import { t as B } from "./planner-CuZaTB-P.mjs";
9
+ import { n as V, t as H } from "./glb-viewer-BkU2Z-HJ.mjs";
10
+ import { t as U } from "./api-B_Mu7Mg1.mjs";
11
11
  export { o as CONFIGURATION_TYPE, l as CORE_EDGE_TYPE, c as CORE_FLOOR_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, z as Configurator, m as FloorPlanElementViewModel, H as GlbViewer, O as HI_CONTEXT_ACTION, A as HI_GROUP_OPERATION, P as HI_TOOL_COMMAND, M as HttpResponseError, N as MeasurementLinePlanElementViewModel, g as PLAN_ELEMENT_CHANGE_TYPES, b as PlanElementViewModel, v as PlanObjectViewModel, B as Planner, k as RapiAccess, E as RapiInvalidIdError, T as RapiOfflineError, U as RoomDesignerApi, R as RoomleConfigurator, V as RoomleGLBViewer, w as RoomleLightSource, j as RoomlePlanner, F as RoomleSdk, y as StaticPlanObjectViewModel, p as WallPlanElementViewModel, x as createExtObj, _ as createExtObjId, d as download, S as getCatalogIdFromConfigurationHash, h as isDeletedInvisibleWall, I as isExtObjId, L as isExternalObject, D as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, e as isPlanSnapshotId, f as isSafari, u as md5Hash, C as removeExtObjIdPrefix };
@@ -3252,7 +3252,7 @@ var Gr = /* @__PURE__ */ new Gt(), Kr = /* @__PURE__ */ new O(), qr, Jr = class
3252
3252
  }
3253
3253
  assemble(e, t, n, r, i) {
3254
3254
  if (!(r instanceof p) || i === "no fog" || i === "depth") return this.removeSceneFog(), t;
3255
- let a = e.getTextureNode("depth"), o = this.getTransparentObjectsDepthPassTexture(n, r), s = M(a.r, o.r), c = H(r.projectionMatrixInverse), l = H(r.matrixWorld), u = M(H(r.far).onRenderUpdate(() => r.far), 50).sub(this.fogFarBlend), d = u.sub(this.fogNearBlend), f = B(It.x.mul(2).sub(1), It.y.mul(2).sub(1), s, 1), m = c.mul(f), h = m.xyz.div(m.w), g = l.mul(B(h, 1)).xyz.xz.length(), _ = u.sub(g).div(u.sub(d)).clamp(0, 1).toInspector("Fog / Factor");
3255
+ let a = e.getTextureNode("depth"), o = this.getTransparentObjectsDepthPassTexture(n, r), s = M(a.r, o.r), c = H(r.projectionMatrixInverse), l = H(r.matrixWorld), u = M(j(20, H(r.far).onRenderUpdate(() => r.far)), 50).sub(this.fogFarBlend), d = u.sub(this.fogNearBlend), f = B(It.x.mul(2).sub(1), It.y.mul(2).sub(1), s, 1), m = c.mul(f), h = m.xyz.div(m.w), g = l.mul(B(h, 1)).xyz.xz.length(), _ = u.sub(g).div(u.sub(d)).clamp(0, 1).toInspector("Fog / Factor");
3256
3256
  return this.addSceneFog(n, d, u), _t(B(this.fogColor, 1), t, _).toInspector("Fog / Composite");
3257
3257
  }
3258
3258
  addSceneFog(e, t, n) {
@@ -4310,4 +4310,4 @@ we([Ce, Se("design:type", Object)], la.prototype, "_domHelper", void 0), we([Ce,
4310
4310
  //#endregion
4311
4311
  export { la as RoomleWebGPURenderer };
4312
4312
 
4313
- //# sourceMappingURL=roomle-webgpu-renderer-DZ9LaZfc.mjs.map
4313
+ //# sourceMappingURL=roomle-webgpu-renderer-D43bHxhT.mjs.map