@cesium/engine 8.0.0 → 9.1.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/Build/ThirdParty/Workers/z-worker-pako.js +7 -10
- package/Build/Workers/{chunk-F4HFJMGM.js → chunk-2CSEEWHN.js} +6 -6
- package/Build/Workers/{chunk-7TC63SJW.js → chunk-34DGOKCO.js} +10 -12
- package/Build/Workers/{chunk-7ZFGPDJA.js → chunk-3RZK5NNV.js} +4 -4
- package/Build/Workers/{chunk-M7ERACJJ.js → chunk-3S2MFY4B.js} +13 -13
- package/Build/Workers/{chunk-BROJAZRZ.js → chunk-4AJGCQFX.js} +13 -13
- package/Build/Workers/{chunk-2FWRMUTY.js → chunk-4KIUON73.js} +4 -4
- package/Build/Workers/{chunk-5QULIR53.js → chunk-4PHPQRSH.js} +4 -4
- package/Build/Workers/{chunk-X4356LRH.js → chunk-66E3H2KU.js} +12 -12
- package/Build/Workers/{chunk-G43QFN4Q.js → chunk-6HCAQOVK.js} +6 -6
- package/Build/Workers/{chunk-23UFSGND.js → chunk-7LPEGKOF.js} +7 -7
- package/Build/Workers/{chunk-DDUQAJ4P.js → chunk-7VZNXIKG.js} +7 -7
- package/Build/Workers/{chunk-JURN7NPV.js → chunk-A6NCZSL3.js} +19 -19
- package/Build/Workers/{chunk-ZT7KWISZ.js → chunk-AOFMPKUB.js} +4 -4
- package/Build/Workers/{chunk-BIKA3NRA.js → chunk-AOIKO5Y7.js} +5 -5
- package/Build/Workers/{chunk-YWTJ2B4B.js → chunk-BDUJXBVF.js} +1 -1
- package/Build/Workers/{chunk-OGXZVPPM.js → chunk-C5CE4OG6.js} +469 -6
- package/Build/Workers/{chunk-FNIRWHJB.js → chunk-CE6GTZ4I.js} +11 -13
- package/Build/Workers/{chunk-SH5USDPI.js → chunk-CYAJYEKW.js} +6 -6
- package/Build/Workers/{chunk-Y5UQJLYE.js → chunk-FOZQIHZK.js} +6 -6
- package/Build/Workers/{chunk-2FRVPMCS.js → chunk-G7CJQKKD.js} +7 -7
- package/Build/Workers/{chunk-EERJKOAF.js → chunk-GIFJ77E4.js} +4 -4
- package/Build/Workers/{chunk-FJKNFAKQ.js → chunk-I5TDPPC4.js} +7197 -5096
- package/Build/Workers/{chunk-3VAZEH7M.js → chunk-IBXGK4WV.js} +2 -2
- package/Build/Workers/{chunk-VOXYEYJT.js → chunk-JI2445T5.js} +11 -11
- package/Build/Workers/{chunk-PGSJK77E.js → chunk-KPY4F4BW.js} +6 -6
- package/Build/Workers/{chunk-I46ZRR5W.js → chunk-LVJCR7DH.js} +17 -17
- package/Build/Workers/{chunk-T3XIFPYR.js → chunk-LW7WGHEU.js} +16 -16
- package/Build/Workers/{chunk-HU6N6EXB.js → chunk-MWYZ64MH.js} +12 -11
- package/Build/Workers/chunk-NI2R52QD.js +961 -0
- package/Build/Workers/{chunk-SOWMRMWA.js → chunk-PEABJLCK.js} +1 -1
- package/Build/Workers/{chunk-EG6PTBY2.js → chunk-PK7TEP3J.js} +15 -15
- package/Build/Workers/{chunk-GRC2ZTAF.js → chunk-POLFRINT.js} +14 -14
- package/Build/Workers/{chunk-Z3TIFFGF.js → chunk-PS6AEMBR.js} +7 -7
- package/Build/Workers/{chunk-Y2ME2IJV.js → chunk-PWF3YJJ5.js} +13 -13
- package/Build/Workers/{chunk-2A75IWRS.js → chunk-QKF7XXEQ.js} +7 -7
- package/Build/Workers/{chunk-4H7PY4U5.js → chunk-RL73GOEF.js} +2 -2
- package/Build/Workers/{chunk-MDWEGWPA.js → chunk-RR7EOKGZ.js} +10 -10
- package/Build/Workers/{chunk-F3YA3Y2Z.js → chunk-S4XDCPKD.js} +1 -1
- package/Build/Workers/{chunk-PPH7OFP3.js → chunk-TMMOULW3.js} +5 -5
- package/Build/Workers/{chunk-XGI5BXZY.js → chunk-U4IMCOF5.js} +2 -2
- package/Build/Workers/{chunk-4DO5W5XZ.js → chunk-UAJEGIWA.js} +6 -6
- package/Build/Workers/{chunk-BBWDMCVU.js → chunk-UCPPWV64.js} +1 -1
- package/Build/Workers/{chunk-FZRIVR7Y.js → chunk-V7JB576Q.js} +5 -5
- package/Build/Workers/{chunk-2UPKWTMJ.js → chunk-WEGCQ5DY.js} +6 -6
- package/Build/Workers/{chunk-STW2DGFI.js → chunk-WFICTTOE.js} +2 -2
- package/Build/Workers/{chunk-LPR3YNP2.js → chunk-WWP3I7R5.js} +5 -5
- package/Build/Workers/{chunk-A5DWLWCY.js → chunk-XHLDDE65.js} +10 -10
- package/Build/Workers/{chunk-UEXTBDBE.js → chunk-XWML5Y7N.js} +11 -13
- package/Build/Workers/{chunk-EHWHNOEX.js → chunk-YLZTCEBJ.js} +1 -1
- package/Build/Workers/{chunk-34FXV7D7.js → chunk-ZC4AGBZK.js} +2 -2
- package/Build/Workers/{chunk-GATZHF3K.js → chunk-ZDP32RQI.js} +2 -2
- package/Build/Workers/{chunk-KKCR2YOP.js → chunk-ZWPIM77Q.js} +11 -11
- package/Build/Workers/combineGeometry.js +22 -24
- package/Build/Workers/createBoxGeometry.js +16 -18
- package/Build/Workers/createBoxOutlineGeometry.js +14 -16
- package/Build/Workers/createCircleGeometry.js +24 -26
- package/Build/Workers/createCircleOutlineGeometry.js +17 -19
- package/Build/Workers/createCoplanarPolygonGeometry.js +33 -34
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +29 -31
- package/Build/Workers/createCorridorGeometry.js +27 -29
- package/Build/Workers/createCorridorOutlineGeometry.js +26 -28
- package/Build/Workers/createCylinderGeometry.js +18 -20
- package/Build/Workers/createCylinderOutlineGeometry.js +16 -18
- package/Build/Workers/createEllipseGeometry.js +24 -26
- package/Build/Workers/createEllipseOutlineGeometry.js +17 -19
- package/Build/Workers/createEllipsoidGeometry.js +17 -19
- package/Build/Workers/createEllipsoidOutlineGeometry.js +16 -18
- package/Build/Workers/createFrustumGeometry.js +16 -18
- package/Build/Workers/createFrustumOutlineGeometry.js +18 -19
- package/Build/Workers/createGeometry.js +23 -25
- package/Build/Workers/createGroundPolylineGeometry.js +23 -25
- package/Build/Workers/createPlaneGeometry.js +14 -16
- package/Build/Workers/createPlaneOutlineGeometry.js +13 -15
- package/Build/Workers/createPolygonGeometry.js +33 -35
- package/Build/Workers/createPolygonOutlineGeometry.js +28 -30
- package/Build/Workers/createPolylineGeometry.js +23 -25
- package/Build/Workers/createPolylineVolumeGeometry.js +29 -31
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +25 -27
- package/Build/Workers/createRectangleGeometry.js +27 -29
- package/Build/Workers/createRectangleOutlineGeometry.js +18 -20
- package/Build/Workers/createSimplePolylineGeometry.js +21 -23
- package/Build/Workers/createSphereGeometry.js +17 -19
- package/Build/Workers/createSphereOutlineGeometry.js +16 -18
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +14 -16
- package/Build/Workers/createVectorTileGeometries.js +22 -24
- package/Build/Workers/createVectorTilePoints.js +12 -12
- package/Build/Workers/createVectorTilePolygons.js +20 -22
- package/Build/Workers/createVectorTilePolylines.js +14 -16
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +23 -25
- package/Build/Workers/createVerticesFromHeightmap.js +23 -25
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +19 -22
- package/Build/Workers/createWallGeometry.js +22 -24
- package/Build/Workers/createWallOutlineGeometry.js +21 -23
- package/Build/Workers/decodeDraco.js +11 -11
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +10 -11
- package/Build/Workers/transcodeKTX2.js +8 -8
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -22
- package/Source/Core/Check.d.ts +127 -0
- package/Source/Core/Check.js +0 -1
- package/Source/Core/Geometry.js +1 -1
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/PixelFormat.js +1 -0
- package/Source/Core/PolygonGeometry.js +1 -1
- package/Source/Core/Rectangle.js +89 -0
- package/Source/Core/VerticalExaggeration.js +2 -1
- package/Source/DataSources/DataSourceDisplay.js +5 -0
- package/Source/Renderer/ShaderBuilder.js +6 -3
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +37 -3
- package/Source/Scene/BillboardCollection.js +1 -1
- package/Source/Scene/BingMapsImageryProvider.js +4 -0
- package/Source/Scene/Cesium3DTile.js +65 -0
- package/Source/Scene/Cesium3DTilesVoxelProvider.js +2 -9
- package/Source/Scene/Cesium3DTileset.js +52 -40
- package/Source/Scene/ClippingPolygon.js +212 -0
- package/Source/Scene/ClippingPolygonCollection.js +968 -0
- package/Source/Scene/Globe.js +14 -67
- package/Source/Scene/GlobeSurfaceShaderSet.js +81 -15
- package/Source/Scene/GlobeSurfaceTileProvider.js +81 -1
- package/Source/Scene/Label.js +33 -0
- package/Source/Scene/LabelCollection.js +2 -1
- package/Source/Scene/Model/Model.js +83 -0
- package/Source/Scene/Model/Model3DTileContent.js +21 -0
- package/Source/Scene/Model/ModelClippingPolygonsPipelineStage.js +92 -0
- package/Source/Scene/Model/ModelSceneGraph.js +5 -0
- package/Source/Scene/Primitive.js +0 -3
- package/Source/Scene/SensorVolumePortionToDisplay.js +1 -1
- package/Source/Scene/Terrain.js +2 -2
- package/Source/Scene/VoxelBoxShape.js +0 -15
- package/Source/Scene/VoxelCylinderShape.js +14 -131
- package/Source/Scene/VoxelEllipsoidShape.js +136 -227
- package/Source/Scene/VoxelPrimitive.js +106 -14
- package/Source/Scene/VoxelRenderResources.js +9 -3
- package/Source/Scene/VoxelShape.js +0 -10
- package/Source/Scene/processVoxelProperties.js +1 -0
- package/Source/Shaders/Builtin/CzmBuiltins.js +4 -0
- package/Source/Shaders/Builtin/Functions/clipPolygons.glsl +37 -0
- package/Source/Shaders/Builtin/Functions/clipPolygons.js +39 -0
- package/Source/Shaders/Builtin/Functions/unpackClippingExtents.glsl +14 -0
- package/Source/Shaders/Builtin/Functions/unpackClippingExtents.js +15 -0
- package/Source/Shaders/GlobeFS.glsl +12 -0
- package/Source/Shaders/GlobeFS.js +12 -0
- package/Source/Shaders/GlobeVS.glsl +32 -0
- package/Source/Shaders/GlobeVS.js +32 -0
- package/Source/Shaders/Model/GeometryStageVS.glsl +1 -1
- package/Source/Shaders/Model/GeometryStageVS.js +1 -1
- package/Source/Shaders/Model/ModelClippingPolygonsStageFS.glsl +6 -0
- package/Source/Shaders/Model/ModelClippingPolygonsStageFS.js +8 -0
- package/Source/Shaders/Model/ModelClippingPolygonsStageVS.glsl +27 -0
- package/Source/Shaders/Model/ModelClippingPolygonsStageVS.js +29 -0
- package/Source/Shaders/Model/ModelFS.glsl +6 -0
- package/Source/Shaders/Model/ModelFS.js +7 -1
- package/Source/Shaders/Model/ModelVS.glsl +4 -0
- package/Source/Shaders/Model/ModelVS.js +4 -0
- package/Source/Shaders/PolygonSignedDistanceFS.glsl +100 -0
- package/Source/Shaders/PolygonSignedDistanceFS.js +101 -0
- package/Source/Shaders/Voxels/IntersectBox.glsl +21 -47
- package/Source/Shaders/Voxels/IntersectBox.js +21 -47
- package/Source/Shaders/Voxels/IntersectClippingPlanes.glsl +1 -1
- package/Source/Shaders/Voxels/IntersectClippingPlanes.js +1 -1
- package/Source/Shaders/Voxels/IntersectCylinder.glsl +66 -96
- package/Source/Shaders/Voxels/IntersectCylinder.js +66 -96
- package/Source/Shaders/Voxels/IntersectEllipsoid.glsl +226 -154
- package/Source/Shaders/Voxels/IntersectEllipsoid.js +226 -154
- package/Source/Shaders/Voxels/IntersectionUtils.glsl +33 -11
- package/Source/Shaders/Voxels/IntersectionUtils.js +33 -11
- package/Source/Shaders/Voxels/Megatexture.glsl +1 -2
- package/Source/Shaders/Voxels/Megatexture.js +1 -2
- package/Source/Shaders/Voxels/Octree.glsl +14 -9
- package/Source/Shaders/Voxels/Octree.js +14 -9
- package/Source/Shaders/Voxels/VoxelFS.glsl +93 -43
- package/Source/Shaders/Voxels/VoxelFS.js +93 -43
- package/Source/Shaders/Voxels/VoxelUtils.glsl +31 -0
- package/Source/Shaders/Voxels/VoxelUtils.js +33 -0
- package/Source/Shaders/Voxels/convertUvToBox.glsl +24 -3
- package/Source/Shaders/Voxels/convertUvToBox.js +24 -4
- package/Source/Shaders/Voxels/convertUvToCylinder.glsl +50 -8
- package/Source/Shaders/Voxels/convertUvToCylinder.js +50 -8
- package/Source/Shaders/Voxels/convertUvToEllipsoid.glsl +82 -53
- package/Source/Shaders/Voxels/convertUvToEllipsoid.js +82 -53
- package/Source/ThirdParty/Workers/z-worker-pako.js +1 -1
- package/Source/Workers/createGeometry.js +1 -1
- package/index.d.ts +478 -35
- package/index.js +61 -52
- package/package.json +2 -2
- package/Build/Workers/chunk-BG4UCVXN.js +0 -73
- package/Build/Workers/chunk-TTUZP4BO.js +0 -501
- package/Build/Workers/chunk-YJEBABKH.js +0 -2977
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.117
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,54 +25,52 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
WallGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-UAJEGIWA.js";
|
|
29
|
+
import "./chunk-ZWPIM77Q.js";
|
|
30
|
+
import "./chunk-2CSEEWHN.js";
|
|
31
31
|
import {
|
|
32
32
|
VertexFormat_default
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-4KIUON73.js";
|
|
34
|
+
import "./chunk-V7JB576Q.js";
|
|
35
|
+
import "./chunk-CYAJYEKW.js";
|
|
36
|
+
import "./chunk-G7CJQKKD.js";
|
|
37
|
+
import "./chunk-FOZQIHZK.js";
|
|
38
38
|
import {
|
|
39
39
|
IndexDatatype_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WWP3I7R5.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttributes_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-RL73GOEF.js";
|
|
44
44
|
import {
|
|
45
45
|
GeometryAttribute_default,
|
|
46
46
|
Geometry_default,
|
|
47
47
|
PrimitiveType_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-34DGOKCO.js";
|
|
49
49
|
import {
|
|
50
50
|
BoundingSphere_default
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-BG4UCVXN.js";
|
|
54
|
-
import "./chunk-YJEBABKH.js";
|
|
51
|
+
} from "./chunk-NI2R52QD.js";
|
|
52
|
+
import "./chunk-I5TDPPC4.js";
|
|
55
53
|
import {
|
|
56
54
|
ComponentDatatype_default
|
|
57
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-TMMOULW3.js";
|
|
58
56
|
import {
|
|
59
57
|
Cartesian3_default,
|
|
60
58
|
Ellipsoid_default
|
|
61
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-C5CE4OG6.js";
|
|
62
60
|
import {
|
|
63
61
|
Math_default
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-4PHPQRSH.js";
|
|
63
|
+
import "./chunk-PEABJLCK.js";
|
|
64
|
+
import "./chunk-WFICTTOE.js";
|
|
67
65
|
import {
|
|
68
66
|
defaultValue_default
|
|
69
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-UCPPWV64.js";
|
|
70
68
|
import {
|
|
71
69
|
DeveloperError_default
|
|
72
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-U4IMCOF5.js";
|
|
73
71
|
import {
|
|
74
72
|
defined_default
|
|
75
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-BDUJXBVF.js";
|
|
76
74
|
|
|
77
75
|
// packages/engine/Source/Core/WallGeometry.js
|
|
78
76
|
var scratchCartesian3Position1 = new Cartesian3_default();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.117
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,51 +25,49 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
WallGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-UAJEGIWA.js";
|
|
29
|
+
import "./chunk-ZWPIM77Q.js";
|
|
30
|
+
import "./chunk-2CSEEWHN.js";
|
|
31
|
+
import "./chunk-V7JB576Q.js";
|
|
32
|
+
import "./chunk-CYAJYEKW.js";
|
|
33
|
+
import "./chunk-G7CJQKKD.js";
|
|
34
|
+
import "./chunk-FOZQIHZK.js";
|
|
35
35
|
import {
|
|
36
36
|
IndexDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WWP3I7R5.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttributes_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-RL73GOEF.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttribute_default,
|
|
43
43
|
Geometry_default,
|
|
44
44
|
PrimitiveType_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-34DGOKCO.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-BG4UCVXN.js";
|
|
51
|
-
import "./chunk-YJEBABKH.js";
|
|
48
|
+
} from "./chunk-NI2R52QD.js";
|
|
49
|
+
import "./chunk-I5TDPPC4.js";
|
|
52
50
|
import {
|
|
53
51
|
ComponentDatatype_default
|
|
54
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-TMMOULW3.js";
|
|
55
53
|
import {
|
|
56
54
|
Cartesian3_default,
|
|
57
55
|
Ellipsoid_default
|
|
58
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-C5CE4OG6.js";
|
|
59
57
|
import {
|
|
60
58
|
Math_default
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-4PHPQRSH.js";
|
|
60
|
+
import "./chunk-PEABJLCK.js";
|
|
61
|
+
import "./chunk-WFICTTOE.js";
|
|
64
62
|
import {
|
|
65
63
|
defaultValue_default
|
|
66
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-UCPPWV64.js";
|
|
67
65
|
import {
|
|
68
66
|
DeveloperError_default
|
|
69
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-U4IMCOF5.js";
|
|
70
68
|
import {
|
|
71
69
|
defined_default
|
|
72
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-BDUJXBVF.js";
|
|
73
71
|
|
|
74
72
|
// packages/engine/Source/Core/WallOutlineGeometry.js
|
|
75
73
|
var scratchCartesian3Position1 = new Cartesian3_default();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.117
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,27 +25,27 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
require_draco_decoder_nodejs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZDP32RQI.js";
|
|
29
29
|
import {
|
|
30
30
|
createTaskProcessorWorker_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IBXGK4WV.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WWP3I7R5.js";
|
|
35
35
|
import {
|
|
36
36
|
ComponentDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-TMMOULW3.js";
|
|
38
|
+
import "./chunk-4PHPQRSH.js";
|
|
39
|
+
import "./chunk-PEABJLCK.js";
|
|
40
40
|
import {
|
|
41
41
|
RuntimeError_default
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-WFICTTOE.js";
|
|
43
|
+
import "./chunk-UCPPWV64.js";
|
|
44
|
+
import "./chunk-U4IMCOF5.js";
|
|
45
45
|
import {
|
|
46
46
|
__toESM,
|
|
47
47
|
defined_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-BDUJXBVF.js";
|
|
49
49
|
|
|
50
50
|
// packages/engine/Source/Workers/decodeDraco.js
|
|
51
51
|
var import_draco_decoder_nodejs = __toESM(require_draco_decoder_nodejs(), 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.117
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IBXGK4WV.js";
|
|
29
29
|
import {
|
|
30
30
|
RuntimeError_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-WFICTTOE.js";
|
|
32
32
|
import {
|
|
33
33
|
Check_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-U4IMCOF5.js";
|
|
35
35
|
import {
|
|
36
36
|
__commonJS,
|
|
37
37
|
__toESM,
|
|
38
38
|
defined_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BDUJXBVF.js";
|
|
40
40
|
|
|
41
41
|
// node_modules/pako/lib/zlib/adler32.js
|
|
42
42
|
var require_adler32 = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.117
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,36 +25,35 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
require_draco_decoder_nodejs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZDP32RQI.js";
|
|
29
29
|
import {
|
|
30
30
|
Color_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KPY4F4BW.js";
|
|
32
32
|
import {
|
|
33
33
|
createTaskProcessorWorker_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IBXGK4WV.js";
|
|
35
35
|
import {
|
|
36
36
|
WebMercatorProjection_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-TTUZP4BO.js";
|
|
37
|
+
} from "./chunk-WEGCQ5DY.js";
|
|
39
38
|
import {
|
|
40
39
|
Cartesian3_default,
|
|
41
40
|
Cartographic_default,
|
|
42
41
|
Ellipsoid_default,
|
|
43
42
|
Matrix3_default
|
|
44
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-C5CE4OG6.js";
|
|
45
44
|
import {
|
|
46
45
|
Math_default
|
|
47
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-4PHPQRSH.js";
|
|
48
47
|
import {
|
|
49
48
|
defaultValue_default
|
|
50
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-UCPPWV64.js";
|
|
51
50
|
import {
|
|
52
51
|
Check_default
|
|
53
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-U4IMCOF5.js";
|
|
54
53
|
import {
|
|
55
54
|
__toESM,
|
|
56
55
|
defined_default
|
|
57
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-BDUJXBVF.js";
|
|
58
57
|
|
|
59
58
|
// packages/engine/Source/Workers/decodeI3S.js
|
|
60
59
|
var import_draco_decoder_nodejs = __toESM(require_draco_decoder_nodejs(), 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.117
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IBXGK4WV.js";
|
|
29
29
|
import {
|
|
30
30
|
WebGLConstants_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PEABJLCK.js";
|
|
32
32
|
import {
|
|
33
33
|
RuntimeError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WFICTTOE.js";
|
|
35
35
|
import {
|
|
36
36
|
defaultValue_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-UCPPWV64.js";
|
|
38
38
|
import {
|
|
39
39
|
Check_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-U4IMCOF5.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__require,
|
|
44
44
|
__toESM,
|
|
45
45
|
defined_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-BDUJXBVF.js";
|
|
47
47
|
|
|
48
48
|
// packages/engine/Source/ThirdParty/Workers/basis_transcoder.js
|
|
49
49
|
var require_basis_transcoder = __commonJS({
|
|
@@ -2519,7 +2519,7 @@ PixelFormat.validate = function(pixelFormat) {
|
|
|
2519
2519
|
return pixelFormat === PixelFormat.DEPTH_COMPONENT || pixelFormat === PixelFormat.DEPTH_STENCIL || pixelFormat === PixelFormat.ALPHA || pixelFormat === PixelFormat.RED || pixelFormat === PixelFormat.RG || pixelFormat === PixelFormat.RGB || pixelFormat === PixelFormat.RGBA || pixelFormat === PixelFormat.LUMINANCE || pixelFormat === PixelFormat.LUMINANCE_ALPHA || pixelFormat === PixelFormat.RGB_DXT1 || pixelFormat === PixelFormat.RGBA_DXT1 || pixelFormat === PixelFormat.RGBA_DXT3 || pixelFormat === PixelFormat.RGBA_DXT5 || pixelFormat === PixelFormat.RGB_PVRTC_4BPPV1 || pixelFormat === PixelFormat.RGB_PVRTC_2BPPV1 || pixelFormat === PixelFormat.RGBA_PVRTC_4BPPV1 || pixelFormat === PixelFormat.RGBA_PVRTC_2BPPV1 || pixelFormat === PixelFormat.RGBA_ASTC || pixelFormat === PixelFormat.RGB_ETC1 || pixelFormat === PixelFormat.RGB8_ETC2 || pixelFormat === PixelFormat.RGBA8_ETC2_EAC || pixelFormat === PixelFormat.RGBA_BC7;
|
|
2520
2520
|
};
|
|
2521
2521
|
PixelFormat.isColorFormat = function(pixelFormat) {
|
|
2522
|
-
return pixelFormat === PixelFormat.ALPHA || pixelFormat === PixelFormat.RGB || pixelFormat === PixelFormat.RGBA || pixelFormat === PixelFormat.LUMINANCE || pixelFormat === PixelFormat.LUMINANCE_ALPHA;
|
|
2522
|
+
return pixelFormat === PixelFormat.RED || pixelFormat === PixelFormat.ALPHA || pixelFormat === PixelFormat.RGB || pixelFormat === PixelFormat.RGBA || pixelFormat === PixelFormat.LUMINANCE || pixelFormat === PixelFormat.LUMINANCE_ALPHA;
|
|
2523
2523
|
};
|
|
2524
2524
|
PixelFormat.isDepthFormat = function(pixelFormat) {
|
|
2525
2525
|
return pixelFormat === PixelFormat.DEPTH_COMPONENT || pixelFormat === PixelFormat.DEPTH_STENCIL;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.117
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,51 +26,49 @@
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidalOccluder_default,
|
|
28
28
|
TerrainEncoding_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MWYZ64MH.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-IBXGK4WV.js";
|
|
33
33
|
import {
|
|
34
34
|
OrientedBoundingBox_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-XHLDDE65.js";
|
|
36
36
|
import {
|
|
37
37
|
AttributeCompression_default
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-PS6AEMBR.js";
|
|
39
|
+
import "./chunk-CE6GTZ4I.js";
|
|
40
|
+
import "./chunk-6HCAQOVK.js";
|
|
41
|
+
import "./chunk-G7CJQKKD.js";
|
|
42
|
+
import "./chunk-FOZQIHZK.js";
|
|
43
43
|
import {
|
|
44
44
|
IndexDatatype_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-WWP3I7R5.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-TTUZP4BO.js";
|
|
50
|
-
import "./chunk-BG4UCVXN.js";
|
|
48
|
+
} from "./chunk-NI2R52QD.js";
|
|
51
49
|
import {
|
|
52
50
|
Rectangle_default
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-I5TDPPC4.js";
|
|
52
|
+
import "./chunk-TMMOULW3.js";
|
|
55
53
|
import {
|
|
56
54
|
Cartesian2_default,
|
|
57
55
|
Cartesian3_default,
|
|
58
56
|
Cartographic_default,
|
|
59
57
|
Ellipsoid_default
|
|
60
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-C5CE4OG6.js";
|
|
61
59
|
import {
|
|
62
60
|
Math_default
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-4PHPQRSH.js";
|
|
62
|
+
import "./chunk-PEABJLCK.js";
|
|
63
|
+
import "./chunk-WFICTTOE.js";
|
|
64
|
+
import "./chunk-UCPPWV64.js";
|
|
67
65
|
import {
|
|
68
66
|
Check_default,
|
|
69
67
|
DeveloperError_default
|
|
70
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-U4IMCOF5.js";
|
|
71
69
|
import {
|
|
72
70
|
defined_default
|
|
73
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-BDUJXBVF.js";
|
|
74
72
|
|
|
75
73
|
// packages/engine/Source/Core/Intersections2D.js
|
|
76
74
|
var Intersections2D = {};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains functions for checking that supplied arguments are of a specified type
|
|
3
|
+
* or meet specified conditions
|
|
4
|
+
*/
|
|
5
|
+
export const Check: {
|
|
6
|
+
/**
|
|
7
|
+
* Throws if test is not defined
|
|
8
|
+
*
|
|
9
|
+
* @param {string} name The name of the variable being tested
|
|
10
|
+
* @param {*} test The value that is to be checked
|
|
11
|
+
* @exception {DeveloperError} test must be defined
|
|
12
|
+
*/
|
|
13
|
+
defined<T>(name: string, test: T): asserts test is NonNullable<T>;
|
|
14
|
+
/**
|
|
15
|
+
* Contains type checking functions, all using the typeof operator
|
|
16
|
+
*/
|
|
17
|
+
typeOf: {
|
|
18
|
+
/**
|
|
19
|
+
* Throws if test is not typeof 'string'
|
|
20
|
+
*
|
|
21
|
+
* @param {string} name The name of the variable being tested
|
|
22
|
+
* @param {*} test The value to test
|
|
23
|
+
* @exception {DeveloperError} test must be typeof 'string'
|
|
24
|
+
*/
|
|
25
|
+
string(name: string, test: any): asserts test is string;
|
|
26
|
+
/**
|
|
27
|
+
* Throws if test is not typeof 'function'
|
|
28
|
+
*
|
|
29
|
+
* @param {string} name The name of the variable being tested
|
|
30
|
+
* @param {*} test The value to test
|
|
31
|
+
* @exception {DeveloperError} test must be typeof 'function'
|
|
32
|
+
*/
|
|
33
|
+
func(name: string, test: any): asserts test is Function;
|
|
34
|
+
/**
|
|
35
|
+
* Throws if test is not typeof 'object'
|
|
36
|
+
*
|
|
37
|
+
* @param {string} name The name of the variable being tested
|
|
38
|
+
* @param {*} test The value to test
|
|
39
|
+
* @exception {DeveloperError} test must be typeof 'object'
|
|
40
|
+
*/
|
|
41
|
+
object(name: string, test: any): asserts test is object;
|
|
42
|
+
/**
|
|
43
|
+
* Throws if test is not typeof 'boolean'
|
|
44
|
+
*
|
|
45
|
+
* @param {string} name The name of the variable being tested
|
|
46
|
+
* @param {*} test The value to test
|
|
47
|
+
* @exception {DeveloperError} test must be typeof 'boolean'
|
|
48
|
+
*/
|
|
49
|
+
bool(name: string, test: any): asserts test is boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Throws if test is not typeof 'bigint'
|
|
52
|
+
*
|
|
53
|
+
* @param {string} name The name of the variable being tested
|
|
54
|
+
* @param {*} test The value to test
|
|
55
|
+
* @exception {DeveloperError} test must be typeof 'bigint'
|
|
56
|
+
*/
|
|
57
|
+
bigint(name: string, test: any): asserts test is bigint;
|
|
58
|
+
/**
|
|
59
|
+
* Throws if test is not typeof 'number'
|
|
60
|
+
*
|
|
61
|
+
* @param {string} name The name of the variable being tested
|
|
62
|
+
* @param {*} test The value to test
|
|
63
|
+
* @exception {DeveloperError} test must be typeof 'number'
|
|
64
|
+
*/
|
|
65
|
+
number: {
|
|
66
|
+
(name: string, test: any): void;
|
|
67
|
+
/**
|
|
68
|
+
* Throws if test is not typeof 'number' and less than limit
|
|
69
|
+
*
|
|
70
|
+
* @param {string} name The name of the variable being tested
|
|
71
|
+
* @param {*} test The value to test
|
|
72
|
+
* @param {number} limit The limit value to compare against
|
|
73
|
+
* @exception {DeveloperError} test must be typeof 'number' and less than limit
|
|
74
|
+
*/
|
|
75
|
+
lessThan(name: string, test: any, limit: number): asserts test is number;
|
|
76
|
+
/**
|
|
77
|
+
* Throws if test is not typeof 'number' and less than or equal to limit
|
|
78
|
+
*
|
|
79
|
+
* @param {string} name The name of the variable being tested
|
|
80
|
+
* @param {*} test The value to test
|
|
81
|
+
* @param {number} limit The limit value to compare against
|
|
82
|
+
* @exception {DeveloperError} test must be typeof 'number' and less than or equal to limit
|
|
83
|
+
*/
|
|
84
|
+
lessThanOrEquals(
|
|
85
|
+
name: string,
|
|
86
|
+
test: any,
|
|
87
|
+
limit: number
|
|
88
|
+
): asserts test is number;
|
|
89
|
+
/**
|
|
90
|
+
* Throws if test is not typeof 'number' and greater than limit
|
|
91
|
+
*
|
|
92
|
+
* @param {string} name The name of the variable being tested
|
|
93
|
+
* @param {*} test The value to test
|
|
94
|
+
* @param {number} limit The limit value to compare against
|
|
95
|
+
* @exception {DeveloperError} test must be typeof 'number' and greater than limit
|
|
96
|
+
*/
|
|
97
|
+
greaterThan(
|
|
98
|
+
name: string,
|
|
99
|
+
test: any,
|
|
100
|
+
limit: number
|
|
101
|
+
): asserts test is number;
|
|
102
|
+
/**
|
|
103
|
+
* Throws if test is not typeof 'number' and greater than or equal to limit
|
|
104
|
+
*
|
|
105
|
+
* @param {string} name The name of the variable being tested
|
|
106
|
+
* @param {*} test The value to test
|
|
107
|
+
* @param {number} limit The limit value to compare against
|
|
108
|
+
* @exception {DeveloperError} test must be typeof 'number' and greater than or equal to limit
|
|
109
|
+
*/
|
|
110
|
+
greaterThanOrEquals(
|
|
111
|
+
name: string,
|
|
112
|
+
test: any,
|
|
113
|
+
limit: number
|
|
114
|
+
): asserts test is number;
|
|
115
|
+
/**
|
|
116
|
+
* Throws if test1 and test2 is not typeof 'number' and not equal in value
|
|
117
|
+
*
|
|
118
|
+
* @param {string} name1 The name of the first variable being tested
|
|
119
|
+
* @param {string} name2 The name of the second variable being tested against
|
|
120
|
+
* @param {*} test1 The value to test
|
|
121
|
+
* @param {*} test2 The value to test against
|
|
122
|
+
* @exception {DeveloperError} test1 and test2 should be type of 'number' and be equal in value
|
|
123
|
+
*/
|
|
124
|
+
equals(name1: string, name2: string, test1: any, test2: any): void;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
package/Source/Core/Check.js
CHANGED
package/Source/Core/Geometry.js
CHANGED
|
@@ -95,7 +95,7 @@ function Geometry(options) {
|
|
|
95
95
|
* <ul>
|
|
96
96
|
* <li><code>position3DHigh</code> - High 32 bits for encoded 64-bit position computed with {@link GeometryPipeline.encodeAttribute}. 32-bit floating-point. 4 components per attribute.</li>
|
|
97
97
|
* <li><code>position3DLow</code> - Low 32 bits for encoded 64-bit position computed with {@link GeometryPipeline.encodeAttribute}. 32-bit floating-point. 4 components per attribute.</li>
|
|
98
|
-
* <li><code>
|
|
98
|
+
* <li><code>position2DHigh</code> - High 32 bits for encoded 64-bit 2D (Columbus view) position computed with {@link GeometryPipeline.encodeAttribute}. 32-bit floating-point. 4 components per attribute.</li>
|
|
99
99
|
* <li><code>position2DLow</code> - Low 32 bits for encoded 64-bit 2D (Columbus view) position computed with {@link GeometryPipeline.encodeAttribute}. 32-bit floating-point. 4 components per attribute.</li>
|
|
100
100
|
* <li><code>color</code> - RGBA color (normalized) usually from {@link GeometryInstance#color}. 32-bit floating-point. 4 components per attribute.</li>
|
|
101
101
|
* <li><code>pickColor</code> - RGBA color used for picking. 32-bit floating-point. 4 components per attribute.</li>
|
package/Source/Core/Ion.js
CHANGED
|
@@ -4,7 +4,7 @@ import Resource from "./Resource.js";
|
|
|
4
4
|
|
|
5
5
|
let defaultTokenCredit;
|
|
6
6
|
const defaultAccessToken =
|
|
7
|
-
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
7
|
+
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkYzAzYzE4NS0yZmJiLTQ5NzUtOWJlYS0zNjdkMzc2ODBmZDgiLCJpZCI6MjU5LCJpYXQiOjE3MTQ1NzE1MDN9.tIhlyfC7MHSWrQmoAqkvQdXMbg3igaC2HIbQp1HKCVM";
|
|
8
8
|
/**
|
|
9
9
|
* Default settings for accessing the Cesium ion API.
|
|
10
10
|
*
|
|
@@ -240,6 +240,7 @@ PixelFormat.validate = function (pixelFormat) {
|
|
|
240
240
|
*/
|
|
241
241
|
PixelFormat.isColorFormat = function (pixelFormat) {
|
|
242
242
|
return (
|
|
243
|
+
pixelFormat === PixelFormat.RED ||
|
|
243
244
|
pixelFormat === PixelFormat.ALPHA ||
|
|
244
245
|
pixelFormat === PixelFormat.RGB ||
|
|
245
246
|
pixelFormat === PixelFormat.RGBA ||
|
|
@@ -171,7 +171,7 @@ function computeAttributes(options) {
|
|
|
171
171
|
scratchPosition
|
|
172
172
|
);
|
|
173
173
|
p = ellipsoid.scaleToGeodeticSurface(p, p);
|
|
174
|
-
const st = projectTo2d(p, appendTextureCoordinatesCartesian2);
|
|
174
|
+
const st = projectTo2d([p], appendTextureCoordinatesCartesian2)[0];
|
|
175
175
|
Cartesian2.subtract(st, origin, st);
|
|
176
176
|
|
|
177
177
|
const stx = CesiumMath.clamp(st.x / boundingRectangle.width, 0, 1);
|