@rtzh/engine 0.0.4 → 0.0.6
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/Build/Workers/{chunk-HAY6YE7M.js → chunk-23CHWHW6.js} +4 -4
- package/Build/Workers/{chunk-3K2PK2OU.js → chunk-243UEBJF.js} +10 -10
- package/Build/Workers/{chunk-TSAJNE4K.js → chunk-27JI7F7B.js} +2 -2
- package/Build/Workers/{chunk-OVPPHDU7.js → chunk-2OWEFNS4.js} +4 -4
- package/Build/Workers/{chunk-YBVMSCW4.js → chunk-2VN5W6HA.js} +5 -5
- package/Build/Workers/{chunk-OOB2KZC6.js → chunk-2YAONTGQ.js} +7 -7
- package/Build/Workers/{chunk-JH27ZGLN.js → chunk-324L25HV.js} +6 -6
- package/Build/Workers/{chunk-6LZBBEA7.js → chunk-3EZBCDBK.js} +9 -9
- package/Build/Workers/{chunk-25BA4527.js → chunk-3JPA6GA3.js} +12 -12
- package/Build/Workers/{chunk-DP76S3IQ.js → chunk-3NSMZ3XW.js} +17 -17
- package/Build/Workers/chunk-3WRJXCJS.js +497 -0
- package/Build/Workers/{chunk-SBFTVHRW.js → chunk-3ZJ6X3BW.js} +5 -5
- package/Build/Workers/{chunk-B2VFNYD7.js → chunk-42I3QSKJ.js} +1 -1
- package/Build/Workers/{chunk-BXBGWQ3Z.js → chunk-4BJHO56J.js} +6 -6
- package/Build/Workers/{chunk-YPGJSFOO.js → chunk-4DIL24GG.js} +5 -5
- package/Build/Workers/{chunk-XOVHLPKW.js → chunk-4FEDW3WT.js} +8 -8
- package/Build/Workers/{chunk-WAS3IHIQ.js → chunk-4GPHI5UY.js} +10 -10
- package/Build/Workers/{chunk-3M5CRHSG.js → chunk-4NAHNN5G.js} +10 -10
- package/Build/Workers/{chunk-KFMCOG26.js → chunk-4SC4KVID.js} +10 -10
- package/Build/Workers/{chunk-J3FBVUY4.js → chunk-53AFSDGM.js} +1 -1
- package/Build/Workers/{chunk-Q2DXNFYW.js → chunk-54AFUJNV.js} +11 -11
- package/Build/Workers/{chunk-7NCJH26L.js → chunk-54SSO7NS.js} +5 -5
- package/Build/Workers/{chunk-2BLQ3B4Q.js → chunk-553BNJPP.js} +8 -8
- package/Build/Workers/{chunk-GDIBU55R.js → chunk-56MKFDJH.js} +12 -12
- package/Build/Workers/{chunk-K4IMD7KH.js → chunk-5DPCF65K.js} +5 -5
- package/Build/Workers/{chunk-5QTPACZQ.js → chunk-5MCUZL44.js} +6 -6
- package/Build/Workers/{chunk-VIYQ56Z7.js → chunk-5SVTAJRH.js} +12 -12
- package/Build/Workers/chunk-5T4DXPEL.js +299 -0
- package/Build/Workers/{chunk-56XTN5NJ.js → chunk-5UHIRI2A.js} +2 -2
- package/Build/Workers/{chunk-ACH67MPW.js → chunk-5W4ISZGQ.js} +14 -14
- package/Build/Workers/{chunk-KVDSJXRK.js → chunk-64VDO4BW.js} +6 -6
- package/Build/Workers/{chunk-5WAG5YKS.js → chunk-664SI23B.js} +12 -12
- package/Build/Workers/{chunk-TO7TWUET.js → chunk-6AUSOZOL.js} +7 -7
- package/Build/Workers/{chunk-SOR7PD4V.js → chunk-6GNLKYQO.js} +6 -6
- package/Build/Workers/{chunk-POY6ZE32.js → chunk-6ZF4QOFM.js} +6 -6
- package/Build/Workers/{chunk-4HXPSZRC.js → chunk-763Q2YKY.js} +14 -14
- package/Build/Workers/chunk-7MMYV5PM.js +288 -0
- package/Build/Workers/{chunk-TDI7UQBO.js → chunk-7QPQGSS3.js} +5 -5
- package/Build/Workers/{chunk-IELTSYPZ.js → chunk-7R74V5Z3.js} +8 -8
- package/Build/Workers/{chunk-PHB5MRHM.js → chunk-7X6CLAD2.js} +9 -9
- package/Build/Workers/{chunk-PV5B2YNB.js → chunk-ADQVXDEJ.js} +16 -16
- package/Build/Workers/{chunk-TWF4XRZ6.js → chunk-AEURJQ3B.js} +2 -2
- package/Build/Workers/{chunk-WLREXLZ7.js → chunk-AMJRLIO3.js} +11 -11
- package/Build/Workers/{chunk-7B23DD46.js → chunk-ATC2WXI4.js} +17 -17
- package/Build/Workers/{chunk-KVE5EAPO.js → chunk-B5ZUBUPB.js} +14 -14
- package/Build/Workers/{chunk-4Z26IS65.js → chunk-BCYABDWF.js} +18 -18
- package/Build/Workers/{chunk-E2CARZA7.js → chunk-BHTWF7UG.js} +2 -2
- package/Build/Workers/{chunk-UUJXSLQ2.js → chunk-BLZILZWF.js} +16 -16
- package/Build/Workers/{chunk-J4MIJCN5.js → chunk-CCPKBCZD.js} +6 -6
- package/Build/Workers/chunk-CMAG5O53.js +1483 -0
- package/Build/Workers/{chunk-KUAWPGSB.js → chunk-CTARL7CY.js} +13 -13
- package/Build/Workers/{chunk-FJREGHFG.js → chunk-D3FNWB3Q.js} +4 -4
- package/Build/Workers/{chunk-HI6X33GO.js → chunk-DAYNPAVN.js} +2 -2
- package/Build/Workers/{chunk-WMGESUDW.js → chunk-DIA4J2DB.js} +3 -3
- package/Build/Workers/{chunk-EISI2CR2.js → chunk-DKJMD2HX.js} +6 -6
- package/Build/Workers/{chunk-AL22JVIA.js → chunk-DVTKM7FF.js} +4 -4
- package/Build/Workers/{chunk-KBAGFNQ4.js → chunk-E5BSDIGY.js} +5 -5
- package/Build/Workers/{chunk-HU5P7PMU.js → chunk-EJVGOIOW.js} +7 -7
- package/Build/Workers/chunk-ERYOZBVC.js +171 -0
- package/Build/Workers/{chunk-UYT2PBMV.js → chunk-ET7LWDHA.js} +2 -2
- package/Build/Workers/{chunk-5BIQOSBV.js → chunk-FSYQE5XE.js} +1 -1
- package/Build/Workers/{chunk-ZV42SJKS.js → chunk-FTHCZAWE.js} +2 -2
- package/Build/Workers/{chunk-DSBEWMOQ.js → chunk-FTXEOX64.js} +17 -17
- package/Build/Workers/{chunk-R73BHGGI.js → chunk-FUFHIXPT.js} +4 -4
- package/Build/Workers/{chunk-I76SRIKN.js → chunk-G2KELS4I.js} +4 -4
- package/Build/Workers/{chunk-2CAIFJD5.js → chunk-G7PGTG3P.js} +13 -13
- package/Build/Workers/{chunk-KXB3AARU.js → chunk-GCZNJHST.js} +5 -5
- package/Build/Workers/{chunk-UTWLMOPM.js → chunk-GJFIEALZ.js} +13 -13
- package/Build/Workers/{chunk-VR2L2Y4Z.js → chunk-GZMTBQM2.js} +4 -4
- package/Build/Workers/{chunk-DBKYAGM6.js → chunk-HAR6Y2HP.js} +2 -2
- package/Build/Workers/{chunk-NOH3R3YY.js → chunk-HC6DDPFU.js} +7 -7
- package/Build/Workers/{chunk-ELXGXAYS.js → chunk-HHN2M3ES.js} +10 -10
- package/Build/Workers/chunk-HHUKBKWS.js +414 -0
- package/Build/Workers/chunk-HLIXASKN.js +476 -0
- package/Build/Workers/chunk-HM4MH5IG.js +138 -0
- package/Build/Workers/{chunk-2APW7KRS.js → chunk-IB2XQV6U.js} +2 -2
- package/Build/Workers/{chunk-6XJO625E.js → chunk-IEBTKCMB.js} +3 -3
- package/Build/Workers/{chunk-Z356SW7E.js → chunk-IXM65GBF.js} +4 -4
- package/Build/Workers/{chunk-LPM2FVDN.js → chunk-IYAZCFAC.js} +6 -6
- package/Build/Workers/{chunk-XJKMLTSH.js → chunk-IYXLSOLF.js} +10 -10
- package/Build/Workers/{chunk-6QVMKRJ4.js → chunk-JJD7S2CV.js} +18 -18
- package/Build/Workers/{chunk-D7TGILR3.js → chunk-JRPAFYGJ.js} +17 -17
- package/Build/Workers/{chunk-F5LAPCFC.js → chunk-K6PDZWHZ.js} +5 -5
- package/Build/Workers/{chunk-OAOREOSO.js → chunk-KWFCDTXS.js} +9 -9
- package/Build/Workers/{chunk-JURLMTV2.js → chunk-LENXRROQ.js} +14 -14
- package/Build/Workers/{chunk-BJ6WXQOW.js → chunk-LPJHTJDQ.js} +4 -4
- package/Build/Workers/{chunk-AIW5F22O.js → chunk-LRW2QXMW.js} +6 -6
- package/Build/Workers/{chunk-EKMWNF4U.js → chunk-MB2ZJQR3.js} +1 -1
- package/Build/Workers/{chunk-55IROWAX.js → chunk-MCNY7SPD.js} +5 -5
- package/Build/Workers/{chunk-S3AE3MZZ.js → chunk-MHEKNHOF.js} +13 -13
- package/Build/Workers/chunk-MRLJERN3.js +114 -0
- package/Build/Workers/{chunk-5CSRWY7L.js → chunk-MWN26ZEM.js} +1 -1
- package/Build/Workers/{chunk-PLLZB3R4.js → chunk-NIWB6UMY.js} +7 -7
- package/Build/Workers/{chunk-MLFVICFZ.js → chunk-NOJAQPXU.js} +4 -4
- package/Build/Workers/{chunk-5VZISKJF.js → chunk-O5QH7XD5.js} +1 -1
- package/Build/Workers/chunk-OAFZ26QL.js +837 -0
- package/Build/Workers/{chunk-AVSQILVI.js → chunk-OBM2JYMG.js} +1 -1
- package/Build/Workers/{chunk-245NZYCR.js → chunk-OBQVOEPZ.js} +5 -5
- package/Build/Workers/chunk-OC63Z35M.js +280 -0
- package/Build/Workers/{chunk-EDIUN7V3.js → chunk-ODZZZGXK.js} +7 -7
- package/Build/Workers/chunk-OEAC5XUG.js +73 -0
- package/Build/Workers/chunk-OQK27J4J.js +139 -0
- package/Build/Workers/{chunk-LN4NMLYY.js → chunk-OTDNJAYJ.js} +1 -1
- package/Build/Workers/{chunk-JFO3ELF3.js → chunk-PGYA2CMO.js} +6 -6
- package/Build/Workers/{chunk-64W2RXA4.js → chunk-PSDWIJMU.js} +7 -7
- package/Build/Workers/chunk-PW3GQAXA.js +3514 -0
- package/Build/Workers/chunk-Q2YRPH7V.js +1067 -0
- package/Build/Workers/{chunk-KKYQRQ57.js → chunk-QDNIPHD7.js} +12 -12
- package/Build/Workers/{chunk-WO5ZNC7S.js → chunk-QEGQDFX2.js} +10 -10
- package/Build/Workers/chunk-QY55DT53.js +97 -0
- package/Build/Workers/{chunk-BOV6T7FO.js → chunk-R3PTQZ6H.js} +2 -2
- package/Build/Workers/chunk-R5U3MYPS.js +198 -0
- package/Build/Workers/{chunk-IDVURFRN.js → chunk-RJIH4MDC.js} +8 -8
- package/Build/Workers/chunk-RO7SDGOD.js +352 -0
- package/Build/Workers/chunk-RT7PY6BH.js +2719 -0
- package/Build/Workers/{chunk-KH2OWUUA.js → chunk-RTJ6L5O4.js} +2 -2
- package/Build/Workers/{chunk-75UGCVME.js → chunk-SAD42JSM.js} +4 -4
- package/Build/Workers/chunk-SCNCHSTQ.js +642 -0
- package/Build/Workers/{chunk-U364CIW4.js → chunk-SFM3GNS2.js} +10 -10
- package/Build/Workers/{chunk-OFJRMGNX.js → chunk-SG56ZOPD.js} +11 -11
- package/Build/Workers/chunk-SHQEATE2.js +1045 -0
- package/Build/Workers/{chunk-FVYRV2T6.js → chunk-SLYUIIFB.js} +6 -6
- package/Build/Workers/chunk-SPL7JK6K.js +1054 -0
- package/Build/Workers/chunk-SQSWONTJ.js +241 -0
- package/Build/Workers/chunk-SRLJWNU2.js +368 -0
- package/Build/Workers/{chunk-QWV2DM66.js → chunk-SYCWSSRX.js} +4 -4
- package/Build/Workers/{chunk-HGIGANIQ.js → chunk-SZELHE7Q.js} +2 -2
- package/Build/Workers/{chunk-MQ62ZE2U.js → chunk-TBASKFFL.js} +5 -5
- package/Build/Workers/chunk-TDGGEIZE.js +398 -0
- package/Build/Workers/{chunk-HAWJ7FMN.js → chunk-TEZGNCXH.js} +8 -8
- package/Build/Workers/chunk-TIQZUI5N.js +44 -0
- package/Build/Workers/chunk-TKJHRY4V.js +511 -0
- package/Build/Workers/{chunk-KHKSE4WQ.js → chunk-TLXEQ5QY.js} +12 -12
- package/Build/Workers/chunk-U3VI26GL.js +162 -0
- package/Build/Workers/chunk-UIMHSWDJ.js +455 -0
- package/Build/Workers/chunk-UO3AWZR3.js +352 -0
- package/Build/Workers/{chunk-UOD5YNH3.js → chunk-UTXXZ7XH.js} +9 -9
- package/Build/Workers/{chunk-66YGZWBI.js → chunk-V2TRFTCU.js} +7 -7
- package/Build/Workers/chunk-V4I3IKAK.js +1460 -0
- package/Build/Workers/chunk-VLB25GGE.js +439 -0
- package/Build/Workers/{chunk-BN4WA7LX.js → chunk-W2EK42GB.js} +1 -1
- package/Build/Workers/chunk-W2OMUTYA.js +1800 -0
- package/Build/Workers/{chunk-KQIZ7AFF.js → chunk-W4DV7TAL.js} +8 -8
- package/Build/Workers/{chunk-P7M4VYFT.js → chunk-WFTPZ3ZX.js} +11 -11
- package/Build/Workers/chunk-WHOEQFL4.js +682 -0
- package/Build/Workers/{chunk-X65Y2JSA.js → chunk-WWLWTSMV.js} +1 -1
- package/Build/Workers/chunk-WX2ZANQC.js +940 -0
- package/Build/Workers/chunk-XFKTM6GN.js +2058 -0
- package/Build/Workers/chunk-XHNWVOIJ.js +219 -0
- package/Build/Workers/{chunk-DEIMB3B5.js → chunk-XNKQLSHI.js} +1 -1
- package/Build/Workers/chunk-XOXF37BU.js +1317 -0
- package/Build/Workers/chunk-YC6PFDXQ.js +8366 -0
- package/Build/Workers/chunk-YFJB3US4.js +102 -0
- package/Build/Workers/chunk-YMXATXRN.js +57 -0
- package/Build/Workers/chunk-YVRD2PO5.js +124 -0
- package/Build/Workers/chunk-Z24A5EMJ.js +387 -0
- package/Build/Workers/chunk-Z4IW5XUY.js +788 -0
- package/Build/Workers/chunk-Z5MHVJGN.js +778 -0
- package/Build/Workers/chunk-ZFHCP7RN.js +692 -0
- package/Build/Workers/{chunk-6H33B6OL.js → chunk-ZHHEFNHL.js} +1 -1
- package/Build/Workers/chunk-ZI5GDNEV.js +305 -0
- package/Build/Workers/chunk-ZYTMDBCR.js +1443 -0
- package/Build/Workers/combineGeometry.js +24 -24
- package/Build/Workers/createBoxGeometry.js +18 -18
- package/Build/Workers/createBoxOutlineGeometry.js +16 -16
- package/Build/Workers/createCircleGeometry.js +26 -26
- package/Build/Workers/createCircleOutlineGeometry.js +19 -19
- package/Build/Workers/createCoplanarPolygonGeometry.js +33 -33
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +31 -31
- package/Build/Workers/createCorridorGeometry.js +29 -29
- package/Build/Workers/createCorridorOutlineGeometry.js +28 -28
- package/Build/Workers/createCylinderGeometry.js +20 -20
- package/Build/Workers/createCylinderOutlineGeometry.js +18 -18
- package/Build/Workers/createEllipseGeometry.js +26 -26
- package/Build/Workers/createEllipseOutlineGeometry.js +19 -19
- package/Build/Workers/createEllipsoidGeometry.js +19 -19
- package/Build/Workers/createEllipsoidOutlineGeometry.js +18 -18
- package/Build/Workers/createFrustumGeometry.js +18 -18
- package/Build/Workers/createFrustumOutlineGeometry.js +18 -18
- package/Build/Workers/createGeometry.js +24 -24
- package/Build/Workers/createGroundPolylineGeometry.js +22 -22
- package/Build/Workers/createPlaneGeometry.js +16 -16
- package/Build/Workers/createPlaneOutlineGeometry.js +15 -15
- package/Build/Workers/createPolygonGeometry.js +32 -32
- package/Build/Workers/createPolygonOutlineGeometry.js +30 -30
- package/Build/Workers/createPolylineGeometry.js +25 -25
- package/Build/Workers/createPolylineVolumeGeometry.js +31 -31
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +27 -27
- package/Build/Workers/createRectangleGeometry.js +27 -27
- package/Build/Workers/createRectangleOutlineGeometry.js +20 -20
- package/Build/Workers/createSimplePolylineGeometry.js +23 -23
- package/Build/Workers/createSphereGeometry.js +19 -19
- package/Build/Workers/createSphereOutlineGeometry.js +18 -18
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +14 -14
- package/Build/Workers/createVectorTileGeometries.js +24 -24
- package/Build/Workers/createVectorTilePoints.js +13 -13
- package/Build/Workers/createVectorTilePolygons.js +22 -22
- package/Build/Workers/createVectorTilePolylines.js +14 -14
- package/Build/Workers/createVerticesFromCesium3DTilesTerrain.js +25 -25
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +22 -22
- package/Build/Workers/createVerticesFromHeightmap.js +22 -22
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +20 -20
- package/Build/Workers/createWallGeometry.js +24 -24
- package/Build/Workers/createWallOutlineGeometry.js +23 -23
- package/Build/Workers/decodeDraco.js +10 -10
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/gaussianSplatSorter.js +4 -4
- package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
- package/Build/Workers/incrementallyBuildTerrainPicker.js +10 -10
- package/Build/Workers/transcodeKTX2.js +6 -6
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +22 -22
- package/Build/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +25 -25
- package/Source/Scene/Cesium3DTileset.js +4121 -3932
- package/Source/Scene/Model/BarycentricWireframePipelineStage.js +355 -0
- package/Source/Scene/Model/Model.js +3584 -3340
- package/Source/Scene/Model/Model3DTileContent.js +568 -551
- package/Source/Scene/Model/ModelRuntimePrimitive.js +391 -380
- package/Source/Scene/Model/WireframePipelineStage.js +122 -118
- package/Source/Shaders/Model/ModelFS.glsl +14 -0
- package/Source/Shaders/Model/ModelFS.js +14 -0
- package/Source/Shaders/Model/ModelVS.glsl +4 -0
- package/Source/Shaders/Model/ModelVS.js +4 -0
- package/index.d.ts +891 -697
- package/index.js +3 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 0.0.
|
|
4
|
+
* Version 0.0.5
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,40 +25,40 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
GeometryOffsetAttribute_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZHHEFNHL.js";
|
|
29
29
|
import {
|
|
30
30
|
IndexDatatype_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OQK27J4J.js";
|
|
32
32
|
import {
|
|
33
33
|
GeometryAttributes_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FTHCZAWE.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryAttribute_default,
|
|
37
37
|
Geometry_default,
|
|
38
38
|
PrimitiveType_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-5T4DXPEL.js";
|
|
40
40
|
import {
|
|
41
41
|
BoundingSphere_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-UTXXZ7XH.js";
|
|
43
43
|
import {
|
|
44
44
|
ComponentDatatype_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-DVTKM7FF.js";
|
|
46
46
|
import {
|
|
47
47
|
Ellipsoid_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-V4I3IKAK.js";
|
|
49
49
|
import {
|
|
50
50
|
Cartesian3_default,
|
|
51
51
|
Frozen_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ZYTMDBCR.js";
|
|
53
53
|
import {
|
|
54
54
|
Math_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-IEBTKCMB.js";
|
|
56
56
|
import {
|
|
57
57
|
DeveloperError_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-RTJ6L5O4.js";
|
|
59
59
|
import {
|
|
60
60
|
defined_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-W2EK42GB.js";
|
|
62
62
|
|
|
63
63
|
// packages/engine/Source/Core/EllipsoidOutlineGeometry.js
|
|
64
64
|
var defaultRadii = new Cartesian3_default(1, 1, 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 0.0.
|
|
4
|
+
* Version 0.0.5
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,35 +25,35 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidRhumbLine_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5MCUZL44.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryAttribute_default,
|
|
31
31
|
Geometry_default,
|
|
32
32
|
PrimitiveType_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5T4DXPEL.js";
|
|
34
34
|
import {
|
|
35
35
|
ComponentDatatype_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DVTKM7FF.js";
|
|
37
37
|
import {
|
|
38
38
|
WebGLConstants_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XNKQLSHI.js";
|
|
40
40
|
import {
|
|
41
41
|
Cartesian2_default,
|
|
42
42
|
Cartographic_default,
|
|
43
43
|
Ellipsoid_default
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-V4I3IKAK.js";
|
|
45
45
|
import {
|
|
46
46
|
Cartesian3_default
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZYTMDBCR.js";
|
|
48
48
|
import {
|
|
49
49
|
Math_default
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-IEBTKCMB.js";
|
|
51
51
|
import {
|
|
52
52
|
Check_default
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-RTJ6L5O4.js";
|
|
54
54
|
import {
|
|
55
55
|
defined_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-W2EK42GB.js";
|
|
57
57
|
|
|
58
58
|
// packages/engine/Source/Core/WindingOrder.js
|
|
59
59
|
var WindingOrder = {
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 0.0.6
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import {
|
|
27
|
+
Math_default
|
|
28
|
+
} from "./chunk-DIA4J2DB.js";
|
|
29
|
+
import {
|
|
30
|
+
Check_default
|
|
31
|
+
} from "./chunk-SZELHE7Q.js";
|
|
32
|
+
import {
|
|
33
|
+
defined_default
|
|
34
|
+
} from "./chunk-OBM2JYMG.js";
|
|
35
|
+
|
|
36
|
+
// packages/engine/Source/Core/arrayRemoveDuplicates.js
|
|
37
|
+
var removeDuplicatesEpsilon = Math_default.EPSILON10;
|
|
38
|
+
function arrayRemoveDuplicates(values, equalsEpsilon, wrapAround, removedIndices) {
|
|
39
|
+
Check_default.defined("equalsEpsilon", equalsEpsilon);
|
|
40
|
+
if (!defined_default(values)) {
|
|
41
|
+
return void 0;
|
|
42
|
+
}
|
|
43
|
+
wrapAround = wrapAround ?? false;
|
|
44
|
+
const storeRemovedIndices = defined_default(removedIndices);
|
|
45
|
+
const length = values.length;
|
|
46
|
+
if (length < 2) {
|
|
47
|
+
return values;
|
|
48
|
+
}
|
|
49
|
+
let i;
|
|
50
|
+
let v0 = values[0];
|
|
51
|
+
let v1;
|
|
52
|
+
let cleanedValues;
|
|
53
|
+
let lastCleanIndex = 0;
|
|
54
|
+
let removedIndexLCI = -1;
|
|
55
|
+
for (i = 1; i < length; ++i) {
|
|
56
|
+
v1 = values[i];
|
|
57
|
+
if (equalsEpsilon(v0, v1, removeDuplicatesEpsilon)) {
|
|
58
|
+
if (!defined_default(cleanedValues)) {
|
|
59
|
+
cleanedValues = values.slice(0, i);
|
|
60
|
+
lastCleanIndex = i - 1;
|
|
61
|
+
removedIndexLCI = 0;
|
|
62
|
+
}
|
|
63
|
+
if (storeRemovedIndices) {
|
|
64
|
+
removedIndices.push(i);
|
|
65
|
+
}
|
|
66
|
+
} else {
|
|
67
|
+
if (defined_default(cleanedValues)) {
|
|
68
|
+
cleanedValues.push(v1);
|
|
69
|
+
lastCleanIndex = i;
|
|
70
|
+
if (storeRemovedIndices) {
|
|
71
|
+
removedIndexLCI = removedIndices.length;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
v0 = v1;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
if (wrapAround && equalsEpsilon(values[0], values[length - 1], removeDuplicatesEpsilon)) {
|
|
78
|
+
if (storeRemovedIndices) {
|
|
79
|
+
if (defined_default(cleanedValues)) {
|
|
80
|
+
removedIndices.splice(removedIndexLCI, 0, lastCleanIndex);
|
|
81
|
+
} else {
|
|
82
|
+
removedIndices.push(length - 1);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
if (defined_default(cleanedValues)) {
|
|
86
|
+
cleanedValues.length -= 1;
|
|
87
|
+
} else {
|
|
88
|
+
cleanedValues = values.slice(0, -1);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return defined_default(cleanedValues) ? cleanedValues : values;
|
|
92
|
+
}
|
|
93
|
+
var arrayRemoveDuplicates_default = arrayRemoveDuplicates;
|
|
94
|
+
|
|
95
|
+
export {
|
|
96
|
+
arrayRemoveDuplicates_default
|
|
97
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 0.0.
|
|
4
|
+
* Version 0.0.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Frozen_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GZMTBQM2.js";
|
|
29
29
|
|
|
30
30
|
// packages/engine/Source/Core/GeometryAttributes.js
|
|
31
31
|
function GeometryAttributes(options) {
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 0.0.5
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import {
|
|
27
|
+
PolylinePipeline_default
|
|
28
|
+
} from "./chunk-HHUKBKWS.js";
|
|
29
|
+
import {
|
|
30
|
+
arrayRemoveDuplicates_default
|
|
31
|
+
} from "./chunk-23CHWHW6.js";
|
|
32
|
+
import {
|
|
33
|
+
Cartographic_default
|
|
34
|
+
} from "./chunk-V4I3IKAK.js";
|
|
35
|
+
import {
|
|
36
|
+
Cartesian3_default
|
|
37
|
+
} from "./chunk-ZYTMDBCR.js";
|
|
38
|
+
import {
|
|
39
|
+
Math_default
|
|
40
|
+
} from "./chunk-IEBTKCMB.js";
|
|
41
|
+
import {
|
|
42
|
+
defined_default
|
|
43
|
+
} from "./chunk-W2EK42GB.js";
|
|
44
|
+
|
|
45
|
+
// packages/engine/Source/Core/WallGeometryLibrary.js
|
|
46
|
+
var WallGeometryLibrary = {};
|
|
47
|
+
function latLonEquals(c0, c1) {
|
|
48
|
+
return Math_default.equalsEpsilon(c0.latitude, c1.latitude, Math_default.EPSILON10) && Math_default.equalsEpsilon(c0.longitude, c1.longitude, Math_default.EPSILON10);
|
|
49
|
+
}
|
|
50
|
+
var scratchCartographic1 = new Cartographic_default();
|
|
51
|
+
var scratchCartographic2 = new Cartographic_default();
|
|
52
|
+
function removeDuplicates(ellipsoid, positions, topHeights, bottomHeights) {
|
|
53
|
+
positions = arrayRemoveDuplicates_default(positions, Cartesian3_default.equalsEpsilon);
|
|
54
|
+
const length = positions.length;
|
|
55
|
+
if (length < 2) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const hasBottomHeights = defined_default(bottomHeights);
|
|
59
|
+
const hasTopHeights = defined_default(topHeights);
|
|
60
|
+
const cleanedPositions = new Array(length);
|
|
61
|
+
const cleanedTopHeights = new Array(length);
|
|
62
|
+
const cleanedBottomHeights = new Array(length);
|
|
63
|
+
const v0 = positions[0];
|
|
64
|
+
cleanedPositions[0] = v0;
|
|
65
|
+
const c0 = ellipsoid.cartesianToCartographic(v0, scratchCartographic1);
|
|
66
|
+
if (hasTopHeights) {
|
|
67
|
+
c0.height = topHeights[0];
|
|
68
|
+
}
|
|
69
|
+
cleanedTopHeights[0] = c0.height;
|
|
70
|
+
if (hasBottomHeights) {
|
|
71
|
+
cleanedBottomHeights[0] = bottomHeights[0];
|
|
72
|
+
} else {
|
|
73
|
+
cleanedBottomHeights[0] = 0;
|
|
74
|
+
}
|
|
75
|
+
const startTopHeight = cleanedTopHeights[0];
|
|
76
|
+
const startBottomHeight = cleanedBottomHeights[0];
|
|
77
|
+
let hasAllSameHeights = startTopHeight === startBottomHeight;
|
|
78
|
+
let index = 1;
|
|
79
|
+
for (let i = 1; i < length; ++i) {
|
|
80
|
+
const v1 = positions[i];
|
|
81
|
+
const c1 = ellipsoid.cartesianToCartographic(v1, scratchCartographic2);
|
|
82
|
+
if (hasTopHeights) {
|
|
83
|
+
c1.height = topHeights[i];
|
|
84
|
+
}
|
|
85
|
+
hasAllSameHeights = hasAllSameHeights && c1.height === 0;
|
|
86
|
+
if (!latLonEquals(c0, c1)) {
|
|
87
|
+
cleanedPositions[index] = v1;
|
|
88
|
+
cleanedTopHeights[index] = c1.height;
|
|
89
|
+
if (hasBottomHeights) {
|
|
90
|
+
cleanedBottomHeights[index] = bottomHeights[i];
|
|
91
|
+
} else {
|
|
92
|
+
cleanedBottomHeights[index] = 0;
|
|
93
|
+
}
|
|
94
|
+
hasAllSameHeights = hasAllSameHeights && cleanedTopHeights[index] === cleanedBottomHeights[index];
|
|
95
|
+
Cartographic_default.clone(c1, c0);
|
|
96
|
+
++index;
|
|
97
|
+
} else if (c0.height < c1.height) {
|
|
98
|
+
cleanedTopHeights[index - 1] = c1.height;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
if (hasAllSameHeights || index < 2) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
cleanedPositions.length = index;
|
|
105
|
+
cleanedTopHeights.length = index;
|
|
106
|
+
cleanedBottomHeights.length = index;
|
|
107
|
+
return {
|
|
108
|
+
positions: cleanedPositions,
|
|
109
|
+
topHeights: cleanedTopHeights,
|
|
110
|
+
bottomHeights: cleanedBottomHeights
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
var positionsArrayScratch = new Array(2);
|
|
114
|
+
var heightsArrayScratch = new Array(2);
|
|
115
|
+
var generateArcOptionsScratch = {
|
|
116
|
+
positions: void 0,
|
|
117
|
+
height: void 0,
|
|
118
|
+
granularity: void 0,
|
|
119
|
+
ellipsoid: void 0
|
|
120
|
+
};
|
|
121
|
+
WallGeometryLibrary.computePositions = function(ellipsoid, wallPositions, maximumHeights, minimumHeights, granularity, duplicateCorners) {
|
|
122
|
+
const o = removeDuplicates(
|
|
123
|
+
ellipsoid,
|
|
124
|
+
wallPositions,
|
|
125
|
+
maximumHeights,
|
|
126
|
+
minimumHeights
|
|
127
|
+
);
|
|
128
|
+
if (!defined_default(o)) {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
wallPositions = o.positions;
|
|
132
|
+
maximumHeights = o.topHeights;
|
|
133
|
+
minimumHeights = o.bottomHeights;
|
|
134
|
+
const length = wallPositions.length;
|
|
135
|
+
const numCorners = length - 2;
|
|
136
|
+
let topPositions;
|
|
137
|
+
let bottomPositions;
|
|
138
|
+
const minDistance = Math_default.chordLength(
|
|
139
|
+
granularity,
|
|
140
|
+
ellipsoid.maximumRadius
|
|
141
|
+
);
|
|
142
|
+
const generateArcOptions = generateArcOptionsScratch;
|
|
143
|
+
generateArcOptions.minDistance = minDistance;
|
|
144
|
+
generateArcOptions.ellipsoid = ellipsoid;
|
|
145
|
+
if (duplicateCorners) {
|
|
146
|
+
let count = 0;
|
|
147
|
+
let i;
|
|
148
|
+
for (i = 0; i < length - 1; i++) {
|
|
149
|
+
count += PolylinePipeline_default.numberOfPoints(
|
|
150
|
+
wallPositions[i],
|
|
151
|
+
wallPositions[i + 1],
|
|
152
|
+
minDistance
|
|
153
|
+
) + 1;
|
|
154
|
+
}
|
|
155
|
+
topPositions = new Float64Array(count * 3);
|
|
156
|
+
bottomPositions = new Float64Array(count * 3);
|
|
157
|
+
const generateArcPositions = positionsArrayScratch;
|
|
158
|
+
const generateArcHeights = heightsArrayScratch;
|
|
159
|
+
generateArcOptions.positions = generateArcPositions;
|
|
160
|
+
generateArcOptions.height = generateArcHeights;
|
|
161
|
+
let offset = 0;
|
|
162
|
+
for (i = 0; i < length - 1; i++) {
|
|
163
|
+
generateArcPositions[0] = wallPositions[i];
|
|
164
|
+
generateArcPositions[1] = wallPositions[i + 1];
|
|
165
|
+
generateArcHeights[0] = maximumHeights[i];
|
|
166
|
+
generateArcHeights[1] = maximumHeights[i + 1];
|
|
167
|
+
const pos = PolylinePipeline_default.generateArc(generateArcOptions);
|
|
168
|
+
topPositions.set(pos, offset);
|
|
169
|
+
generateArcHeights[0] = minimumHeights[i];
|
|
170
|
+
generateArcHeights[1] = minimumHeights[i + 1];
|
|
171
|
+
bottomPositions.set(
|
|
172
|
+
PolylinePipeline_default.generateArc(generateArcOptions),
|
|
173
|
+
offset
|
|
174
|
+
);
|
|
175
|
+
offset += pos.length;
|
|
176
|
+
}
|
|
177
|
+
} else {
|
|
178
|
+
generateArcOptions.positions = wallPositions;
|
|
179
|
+
generateArcOptions.height = maximumHeights;
|
|
180
|
+
topPositions = new Float64Array(
|
|
181
|
+
PolylinePipeline_default.generateArc(generateArcOptions)
|
|
182
|
+
);
|
|
183
|
+
generateArcOptions.height = minimumHeights;
|
|
184
|
+
bottomPositions = new Float64Array(
|
|
185
|
+
PolylinePipeline_default.generateArc(generateArcOptions)
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
return {
|
|
189
|
+
bottomPositions,
|
|
190
|
+
topPositions,
|
|
191
|
+
numCorners
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
var WallGeometryLibrary_default = WallGeometryLibrary;
|
|
195
|
+
|
|
196
|
+
export {
|
|
197
|
+
WallGeometryLibrary_default
|
|
198
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 0.0.
|
|
4
|
+
* Version 0.0.5
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,27 +25,27 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
GeographicProjection_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UTXXZ7XH.js";
|
|
29
29
|
import {
|
|
30
30
|
Matrix2_default,
|
|
31
31
|
Rectangle_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TEZGNCXH.js";
|
|
33
33
|
import {
|
|
34
34
|
Cartographic_default,
|
|
35
35
|
Ellipsoid_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-V4I3IKAK.js";
|
|
37
37
|
import {
|
|
38
38
|
Cartesian3_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZYTMDBCR.js";
|
|
40
40
|
import {
|
|
41
41
|
Math_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-IEBTKCMB.js";
|
|
43
43
|
import {
|
|
44
44
|
DeveloperError_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-RTJ6L5O4.js";
|
|
46
46
|
import {
|
|
47
47
|
defined_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-W2EK42GB.js";
|
|
49
49
|
|
|
50
50
|
// packages/engine/Source/Core/RectangleGeometryLibrary.js
|
|
51
51
|
var cos = Math.cos;
|