chbim-plugins 0.0.139 → 0.0.140
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/chbim-plugins.js +3 -3
- package/chbim-plugins.umd.cjs +3 -3
- package/package.json +2 -5
package/chbim-plugins.js
CHANGED
|
@@ -5994,7 +5994,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5994
5994
|
function $(ft, Tt) {
|
|
5995
5995
|
ft.roughness.value = Tt.roughness, ft.metalness.value = Tt.metalness, Tt.roughnessMap && (ft.roughnessMap.value = Tt.roughnessMap), Tt.metalnessMap && (ft.metalnessMap.value = Tt.metalnessMap), Tt.emissiveMap && (ft.emissiveMap.value = Tt.emissiveMap), Tt.bumpMap && (ft.bumpMap.value = Tt.bumpMap, ft.bumpScale.value = Tt.bumpScale, Tt.side === 1 && (ft.bumpScale.value *= -1)), Tt.normalMap && (ft.normalMap.value = Tt.normalMap, ft.normalScale.value.copy(Tt.normalScale), Tt.side === 1 && ft.normalScale.value.negate()), Tt.displacementMap && (ft.displacementMap.value = Tt.displacementMap, ft.displacementScale.value = Tt.displacementScale, ft.displacementBias.value = Tt.displacementBias), Tt.envMap && (ft.envMapIntensity.value = Tt.envMapIntensity);
|
|
5996
5996
|
}
|
|
5997
|
-
|
|
5997
|
+
t = t || {};
|
|
5998
5998
|
var rt = t.canvas !== void 0 ? t.canvas : document.createElementNS("http://www.w3.org/1999/xhtml", "canvas"), xt = t.context !== void 0 ? t.context : null, gt = t.alpha !== void 0 ? t.alpha : !1, Ct = t.depth !== void 0 ? t.depth : !0, wt = t.stencil !== void 0 ? t.stencil : !0, Vt = t.antialias !== void 0 ? t.antialias : !1, J = t.premultipliedAlpha !== void 0 ? t.premultipliedAlpha : !0, ot = t.preserveDrawingBuffer !== void 0 ? t.preserveDrawingBuffer : !1, zt = t.powerPreference !== void 0 ? t.powerPreference : "default", ee = null, $t = null;
|
|
5999
5999
|
this.domElement = rt, this.context = null, this.sortObjects = this.autoClearStencil = this.autoClearDepth = this.autoClearColor = this.autoClear = !0, this.clippingPlanes = [], this.localClippingEnabled = !1, this.gammaFactor = 2, this.physicallyCorrectLights = this.gammaOutput = this.gammaInput = !1, this.toneMappingWhitePoint = this.toneMappingExposure = this.toneMapping = 1, this.maxMorphTargets = 8, this.maxMorphNormals = 4;
|
|
6000
6000
|
var Yt = this, Te = !1, me = null, De = null, be = null, ae = -1, We = e = null, Qe = !1, ci = null, Sn = null, mn = new _(), ji = new _(), Gi = null, en = 0, En = rt.width, Ce = rt.height, ti = 1, Ut = new _(0, 0, En, Ce), Ye = new _(0, 0, En, Ce), ei = !1, Hi = new E(), Ae = new W(), Xe = !1, ri = !1, Ai = new c(), Ci = new u();
|
|
@@ -20367,7 +20367,7 @@ class v1 {
|
|
|
20367
20367
|
a,
|
|
20368
20368
|
c.color,
|
|
20369
20369
|
c
|
|
20370
|
-
), c.clip) {
|
|
20370
|
+
), schemeEvnModify && c.clip) {
|
|
20371
20371
|
let { modelId: N, handleDataList: X } = c.clip;
|
|
20372
20372
|
X.forEach((K) => {
|
|
20373
20373
|
let { id: Z, positions: ct } = K;
|
|
@@ -24506,7 +24506,7 @@ class y1 {
|
|
|
24506
24506
|
break;
|
|
24507
24507
|
case "Polygon":
|
|
24508
24508
|
case "MultiPolygon":
|
|
24509
|
-
|
|
24509
|
+
U == "PolyGrass" && (N = {
|
|
24510
24510
|
evenColor: new Cesium.Color(0.25, 0.4, 0.1, 1),
|
|
24511
24511
|
oddColor: new Cesium.Color(0.1, 0.1, 0.1, 1),
|
|
24512
24512
|
frequency: 1.5
|