@cesium/engine 10.0.0 → 10.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/Workers/chunk-2GEAGYUY.js +1477 -0
- package/Build/Workers/chunk-4RMIRG6T.js +1800 -0
- package/Build/Workers/chunk-4VFBBNQ3.js +55 -0
- package/Build/Workers/{chunk-GRAT5GE7.js → chunk-5BLJ5ZM6.js} +1 -1
- package/Build/Workers/{chunk-AVI4IUWC.js → chunk-5KWHSZYL.js} +4 -4
- package/Build/Workers/chunk-5O6JWQ4E.js +398 -0
- package/Build/Workers/chunk-65MZOUNU.js +390 -0
- package/Build/Workers/chunk-6D66DPRV.js +353 -0
- package/Build/Workers/{chunk-XD445VDH.js → chunk-6OFDHMHR.js} +1 -1
- package/Build/Workers/chunk-76BYYG7N.js +945 -0
- package/Build/Workers/chunk-A5CODJ4M.js +171 -0
- package/Build/Workers/chunk-ACRTCBN5.js +684 -0
- package/Build/Workers/{chunk-7XGC6YB2.js → chunk-B75IEX2S.js} +3 -3
- package/Build/Workers/chunk-BAVI3ZS2.js +39 -0
- package/Build/Workers/{chunk-SYCPRK3D.js → chunk-BBDZYSZB.js} +4 -4
- package/Build/Workers/chunk-BGE4QVG7.js +368 -0
- package/Build/Workers/chunk-BY3E4ONI.js +456 -0
- package/Build/Workers/{chunk-LCLJJ2MZ.js → chunk-C3Z23UUJ.js} +6 -6
- package/Build/Workers/{chunk-MDHQR3ZS.js → chunk-C45MU4GZ.js} +2 -2
- package/Build/Workers/{chunk-PCP4YQST.js → chunk-CF7P7K7E.js} +2 -2
- package/Build/Workers/chunk-D2U4RI64.js +476 -0
- package/Build/Workers/chunk-D4K27X2M.js +305 -0
- package/Build/Workers/chunk-EB7PNZTK.js +138 -0
- package/Build/Workers/chunk-ELI4BUOT.js +963 -0
- package/Build/Workers/{chunk-DOXCPOG4.js → chunk-F3NDOSTZ.js} +1 -1
- package/Build/Workers/{chunk-BCL4PHHT.js → chunk-FDCLACT5.js} +3 -3
- package/Build/Workers/chunk-FEVVHITK.js +122 -0
- package/Build/Workers/{chunk-GR3CDLCP.js → chunk-FOZWUH4T.js} +1 -1
- package/Build/Workers/chunk-FQPSOOPH.js +258 -0
- package/Build/Workers/chunk-G5V4GPZE.js +691 -0
- package/Build/Workers/chunk-GNHZH7HP.js +37 -0
- package/Build/Workers/{chunk-AD5HBJ2F.js → chunk-GPJR7MPQ.js} +2 -2
- package/Build/Workers/{chunk-4BAE4PWO.js → chunk-GWT64LKY.js} +1 -1
- package/Build/Workers/{chunk-STBBMQGG.js → chunk-HGEEOMSC.js} +1 -1
- package/Build/Workers/chunk-IUROUBPA.js +300 -0
- package/Build/Workers/chunk-J7MQUQJY.js +430 -0
- package/Build/Workers/{chunk-BJF5LOWE.js → chunk-JNLWLSTP.js} +3 -3
- package/Build/Workers/chunk-JYQNWIQQ.js +44 -0
- package/Build/Workers/{chunk-G3YR53LY.js → chunk-KV4EQHK4.js} +4 -4
- package/Build/Workers/chunk-LSSWVB2X.js +138 -0
- package/Build/Workers/chunk-LXQ5QAEJ.js +196 -0
- package/Build/Workers/{chunk-RJYML24O.js → chunk-MBZH7YZ7.js} +414 -439
- package/Build/Workers/{chunk-BDFNKFOE.js → chunk-MKXWJTFQ.js} +4 -4
- package/Build/Workers/chunk-MMV6TO3P.js +101 -0
- package/Build/Workers/chunk-N4QEHO3U.js +75 -0
- package/Build/Workers/chunk-NVOABL76.js +100 -0
- package/Build/Workers/chunk-OAPA2RTG.js +239 -0
- package/Build/Workers/chunk-OE4MCOC7.js +421 -0
- package/Build/Workers/chunk-OJF4RTJG.js +634 -0
- package/Build/Workers/{chunk-C2CGMAIU.js → chunk-OOMCT7OL.js} +2 -2
- package/Build/Workers/{chunk-VO3ACQB2.js → chunk-OWGTMVDB.js} +6 -6
- package/Build/Workers/chunk-OXALEQPI.js +10364 -0
- package/Build/Workers/chunk-OXSI7N4C.js +768 -0
- package/Build/Workers/chunk-PNFHVBSF.js +2716 -0
- package/Build/Workers/chunk-POSRARY7.js +834 -0
- package/Build/Workers/chunk-QYQIVZBU.js +117 -0
- package/Build/Workers/chunk-R3TKLC6E.js +1075 -0
- package/Build/Workers/chunk-R4OIEIPE.js +500 -0
- package/Build/Workers/{chunk-LEABCTLP.js → chunk-R4ZEWO4I.js} +1 -1
- package/Build/Workers/{chunk-FXIHSF7O.js → chunk-RCK55EDX.js} +3 -3
- package/Build/Workers/chunk-RHBWXX7C.js +629 -0
- package/Build/Workers/{chunk-NTXTUNEF.js → chunk-RZLZWKFN.js} +1 -1
- package/Build/Workers/chunk-SAPFXU5X.js +102 -0
- package/Build/Workers/chunk-T6LPN7RI.js +2857 -0
- package/Build/Workers/{chunk-5S7OLEPK.js → chunk-TBBFDFCS.js} +2 -2
- package/Build/Workers/chunk-TF776XCO.js +1258 -0
- package/Build/Workers/chunk-TGY6H6N6.js +163 -0
- package/Build/Workers/{chunk-L6RTJ3RE.js → chunk-UCIPJSZX.js} +2 -2
- package/Build/Workers/chunk-UOEUCKKU.js +59 -0
- package/Build/Workers/chunk-VRZ46QZ5.js +781 -0
- package/Build/Workers/chunk-VYWUFRRR.js +1052 -0
- package/Build/Workers/{chunk-JYAHOGGL.js → chunk-WVSELU6O.js} +6 -6
- package/Build/Workers/chunk-X2ZQ7RJR.js +287 -0
- package/Build/Workers/{chunk-O3JCMSS3.js → chunk-X43SJLQL.js} +44 -0
- package/Build/Workers/chunk-XLTOBCDI.js +220 -0
- package/Build/Workers/{chunk-COYFZ5VA.js → chunk-XQI7XZHX.js} +1 -1
- package/Build/Workers/chunk-XUOJCLOH.js +511 -0
- package/Build/Workers/chunk-XZZNKIEV.js +157 -0
- package/Build/Workers/chunk-YLYBLJ3Y.js +73 -0
- package/Build/Workers/{chunk-OORVMGDU.js → chunk-ZEE2EIFD.js} +1 -1
- package/Build/Workers/chunk-ZIKGV7EL.js +58 -0
- package/Build/Workers/{chunk-DGS5QNIO.js → chunk-ZU334IDQ.js} +3 -3
- package/Build/Workers/combineGeometry.js +22 -22
- package/Build/Workers/createBoxGeometry.js +16 -16
- package/Build/Workers/createBoxOutlineGeometry.js +14 -14
- package/Build/Workers/createCircleGeometry.js +24 -24
- package/Build/Workers/createCircleOutlineGeometry.js +17 -17
- package/Build/Workers/createCoplanarPolygonGeometry.js +31 -31
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
- package/Build/Workers/createCorridorGeometry.js +27 -27
- package/Build/Workers/createCorridorOutlineGeometry.js +26 -26
- package/Build/Workers/createCylinderGeometry.js +18 -18
- package/Build/Workers/createCylinderOutlineGeometry.js +16 -16
- package/Build/Workers/createEllipseGeometry.js +24 -24
- package/Build/Workers/createEllipseOutlineGeometry.js +17 -17
- package/Build/Workers/createEllipsoidGeometry.js +17 -17
- package/Build/Workers/createEllipsoidOutlineGeometry.js +16 -16
- package/Build/Workers/createFrustumGeometry.js +16 -16
- package/Build/Workers/createFrustumOutlineGeometry.js +16 -16
- package/Build/Workers/createGeometry.js +22 -22
- package/Build/Workers/createGroundPolylineGeometry.js +20 -20
- package/Build/Workers/createPlaneGeometry.js +14 -14
- package/Build/Workers/createPlaneOutlineGeometry.js +13 -13
- package/Build/Workers/createPolygonGeometry.js +30 -30
- package/Build/Workers/createPolygonOutlineGeometry.js +28 -28
- package/Build/Workers/createPolylineGeometry.js +23 -23
- package/Build/Workers/createPolylineVolumeGeometry.js +29 -29
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +25 -25
- package/Build/Workers/createRectangleGeometry.js +25 -25
- package/Build/Workers/createRectangleOutlineGeometry.js +18 -18
- package/Build/Workers/createSimplePolylineGeometry.js +21 -21
- package/Build/Workers/createSphereGeometry.js +17 -17
- package/Build/Workers/createSphereOutlineGeometry.js +16 -16
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +13 -13
- package/Build/Workers/createVectorTileGeometries.js +22 -22
- package/Build/Workers/createVectorTilePoints.js +12 -12
- package/Build/Workers/createVectorTilePolygons.js +20 -20
- package/Build/Workers/createVectorTilePolylines.js +13 -13
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
- package/Build/Workers/createVerticesFromHeightmap.js +20 -20
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
- package/Build/Workers/createWallGeometry.js +22 -22
- package/Build/Workers/createWallOutlineGeometry.js +21 -21
- package/Build/Workers/decodeDraco.js +11 -11
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/transcodeKTX2.js +8 -11
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -20
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/Simon1994PlanetaryPositions.js +2 -1
- package/Source/Core/Transforms.js +137 -2
- package/Source/DataSources/BillboardGraphics.js +16 -0
- package/Source/DataSources/BillboardVisualizer.js +7 -0
- package/Source/DataSources/PathVisualizer.js +4 -4
- package/Source/DataSources/PointGraphics.js +17 -0
- package/Source/DataSources/PointVisualizer.js +12 -0
- package/Source/DataSources/PositionProperty.js +4 -7
- package/Source/Renderer/AutomaticUniforms.js +1 -1
- package/Source/Renderer/UniformState.js +5 -11
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +29 -2
- package/Source/Scene/BillboardCollection.js +49 -0
- package/Source/Scene/BingMapsImageryProvider.js +10 -1
- package/Source/Scene/ImageBasedLighting.js +2 -2
- package/Source/Scene/Model/Model.js +1 -1
- package/Source/Scene/OctahedralProjectedCubeMap.js +5 -6
- package/Source/Scene/PointPrimitive.js +28 -2
- package/Source/Scene/PointPrimitiveCollection.js +22 -9
- package/Source/Shaders/BillboardCollectionFS.glsl +4 -0
- package/Source/Shaders/BillboardCollectionFS.js +4 -0
- package/Source/Shaders/BillboardCollectionVS.glsl +3 -1
- package/Source/Shaders/BillboardCollectionVS.js +3 -1
- package/Source/Shaders/BrdfLutGeneratorFS.glsl +30 -13
- package/Source/Shaders/BrdfLutGeneratorFS.js +30 -13
- package/Source/Shaders/Builtin/Functions/pbrLighting.glsl +40 -39
- package/Source/Shaders/Builtin/Functions/pbrLighting.js +40 -39
- package/Source/Shaders/Builtin/Functions/sampleOctahedralProjection.glsl +1 -1
- package/Source/Shaders/Builtin/Functions/sampleOctahedralProjection.js +1 -1
- package/Source/Shaders/Model/ImageBasedLightingStageFS.glsl +23 -23
- package/Source/Shaders/Model/ImageBasedLightingStageFS.js +23 -23
- package/Source/Shaders/Model/LightingStageFS.glsl +6 -5
- package/Source/Shaders/Model/LightingStageFS.js +6 -5
- package/Source/Shaders/Model/MaterialStageFS.glsl +10 -14
- package/Source/Shaders/Model/MaterialStageFS.js +10 -14
- package/Source/Shaders/PointPrimitiveCollectionFS.glsl +4 -0
- package/Source/Shaders/PointPrimitiveCollectionFS.js +4 -0
- package/Source/Shaders/PointPrimitiveCollectionVS.glsl +9 -7
- package/Source/Shaders/PointPrimitiveCollectionVS.js +9 -7
- package/index.d.ts +74 -5
- package/index.js +207 -207
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.120
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,49 +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-LXQ5QAEJ.js";
|
|
29
|
+
import "./chunk-OE4MCOC7.js";
|
|
30
|
+
import "./chunk-6D66DPRV.js";
|
|
31
|
+
import "./chunk-NVOABL76.js";
|
|
32
|
+
import "./chunk-BY3E4ONI.js";
|
|
33
|
+
import "./chunk-TF776XCO.js";
|
|
34
|
+
import "./chunk-A5CODJ4M.js";
|
|
35
35
|
import {
|
|
36
36
|
IndexDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-EB7PNZTK.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttributes_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-JYQNWIQQ.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttribute_default,
|
|
43
43
|
Geometry_default,
|
|
44
44
|
PrimitiveType_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-IUROUBPA.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-ELI4BUOT.js";
|
|
49
|
+
import "./chunk-OXALEQPI.js";
|
|
50
50
|
import {
|
|
51
51
|
ComponentDatatype_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-FQPSOOPH.js";
|
|
53
53
|
import {
|
|
54
54
|
Cartesian3_default,
|
|
55
55
|
Ellipsoid_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-T6LPN7RI.js";
|
|
57
57
|
import {
|
|
58
58
|
Math_default
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-R4OIEIPE.js";
|
|
60
|
+
import "./chunk-RHBWXX7C.js";
|
|
61
|
+
import "./chunk-ZIKGV7EL.js";
|
|
62
62
|
import {
|
|
63
63
|
defaultValue_default
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-BAVI3ZS2.js";
|
|
65
65
|
import {
|
|
66
66
|
DeveloperError_default
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-TGY6H6N6.js";
|
|
68
68
|
import {
|
|
69
69
|
defined_default
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-N4QEHO3U.js";
|
|
71
71
|
|
|
72
72
|
// packages/engine/Source/Core/WallOutlineGeometry.js
|
|
73
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.120
|
|
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-4RMIRG6T.js";
|
|
29
29
|
import {
|
|
30
30
|
createTaskProcessorWorker_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MMV6TO3P.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-EB7PNZTK.js";
|
|
35
35
|
import {
|
|
36
36
|
ComponentDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-FQPSOOPH.js";
|
|
38
|
+
import "./chunk-R4OIEIPE.js";
|
|
39
|
+
import "./chunk-RHBWXX7C.js";
|
|
40
40
|
import {
|
|
41
41
|
RuntimeError_default
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-ZIKGV7EL.js";
|
|
43
|
+
import "./chunk-BAVI3ZS2.js";
|
|
44
|
+
import "./chunk-TGY6H6N6.js";
|
|
45
45
|
import {
|
|
46
46
|
__toESM,
|
|
47
47
|
defined_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-N4QEHO3U.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.120
|
|
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-MMV6TO3P.js";
|
|
29
29
|
import {
|
|
30
30
|
RuntimeError_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZIKGV7EL.js";
|
|
32
32
|
import {
|
|
33
33
|
Check_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TGY6H6N6.js";
|
|
35
35
|
import {
|
|
36
36
|
__commonJS,
|
|
37
37
|
__toESM,
|
|
38
38
|
defined_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-N4QEHO3U.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.120
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,35 +25,35 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
require_draco_decoder_nodejs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4RMIRG6T.js";
|
|
29
29
|
import {
|
|
30
30
|
Color_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OJF4RTJG.js";
|
|
32
32
|
import {
|
|
33
33
|
createTaskProcessorWorker_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MMV6TO3P.js";
|
|
35
35
|
import {
|
|
36
36
|
WebMercatorProjection_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QYQIVZBU.js";
|
|
38
38
|
import {
|
|
39
39
|
Cartesian3_default,
|
|
40
40
|
Cartographic_default,
|
|
41
41
|
Ellipsoid_default,
|
|
42
42
|
Matrix3_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-T6LPN7RI.js";
|
|
44
44
|
import {
|
|
45
45
|
Math_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-R4OIEIPE.js";
|
|
47
47
|
import {
|
|
48
48
|
defaultValue_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-BAVI3ZS2.js";
|
|
50
50
|
import {
|
|
51
51
|
Check_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-TGY6H6N6.js";
|
|
53
53
|
import {
|
|
54
54
|
__toESM,
|
|
55
55
|
defined_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-N4QEHO3U.js";
|
|
57
57
|
|
|
58
58
|
// packages/engine/Source/Workers/decodeI3S.js
|
|
59
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.120
|
|
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-MMV6TO3P.js";
|
|
29
29
|
import {
|
|
30
30
|
WebGLConstants_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RHBWXX7C.js";
|
|
32
32
|
import {
|
|
33
33
|
RuntimeError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZIKGV7EL.js";
|
|
35
35
|
import {
|
|
36
36
|
defaultValue_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BAVI3ZS2.js";
|
|
38
38
|
import {
|
|
39
39
|
Check_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TGY6H6N6.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__require,
|
|
44
44
|
__toESM,
|
|
45
45
|
defined_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-N4QEHO3U.js";
|
|
47
47
|
|
|
48
48
|
// packages/engine/Source/ThirdParty/Workers/basis_transcoder.js
|
|
49
49
|
var require_basis_transcoder = __commonJS({
|
|
@@ -3018,10 +3018,7 @@ var KTX2_ID = [
|
|
|
3018
3018
|
10
|
|
3019
3019
|
];
|
|
3020
3020
|
function decodeText(buffer) {
|
|
3021
|
-
|
|
3022
|
-
return new TextDecoder().decode(buffer);
|
|
3023
|
-
}
|
|
3024
|
-
return Buffer.from(buffer).toString("utf8");
|
|
3021
|
+
return new TextDecoder().decode(buffer);
|
|
3025
3022
|
}
|
|
3026
3023
|
function read2(data) {
|
|
3027
3024
|
const id = new Uint8Array(data.buffer, data.byteOffset, KTX2_ID.length);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.120
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,49 +26,49 @@
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidalOccluder_default,
|
|
28
28
|
TerrainEncoding_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-OXSI7N4C.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MMV6TO3P.js";
|
|
33
33
|
import {
|
|
34
34
|
OrientedBoundingBox_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-POSRARY7.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-J7MQUQJY.js";
|
|
39
|
+
import "./chunk-X2ZQ7RJR.js";
|
|
40
|
+
import "./chunk-XZZNKIEV.js";
|
|
41
|
+
import "./chunk-TF776XCO.js";
|
|
42
|
+
import "./chunk-A5CODJ4M.js";
|
|
43
43
|
import {
|
|
44
44
|
IndexDatatype_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-EB7PNZTK.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ELI4BUOT.js";
|
|
49
49
|
import {
|
|
50
50
|
Rectangle_default
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-OXALEQPI.js";
|
|
52
|
+
import "./chunk-FQPSOOPH.js";
|
|
53
53
|
import {
|
|
54
54
|
Cartesian2_default,
|
|
55
55
|
Cartesian3_default,
|
|
56
56
|
Cartographic_default,
|
|
57
57
|
Ellipsoid_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-T6LPN7RI.js";
|
|
59
59
|
import {
|
|
60
60
|
Math_default
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-R4OIEIPE.js";
|
|
62
|
+
import "./chunk-RHBWXX7C.js";
|
|
63
|
+
import "./chunk-ZIKGV7EL.js";
|
|
64
|
+
import "./chunk-BAVI3ZS2.js";
|
|
65
65
|
import {
|
|
66
66
|
Check_default,
|
|
67
67
|
DeveloperError_default
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-TGY6H6N6.js";
|
|
69
69
|
import {
|
|
70
70
|
defined_default
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-N4QEHO3U.js";
|
|
72
72
|
|
|
73
73
|
// packages/engine/Source/Core/Intersections2D.js
|
|
74
74
|
var Intersections2D = {};
|
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.eyJqdGkiOiIxY2UxZDdkOS02YTJkLTQ2Y2EtYmMxNS03ZDI2NWQ1NzUzMjAiLCJpZCI6MjU5LCJpYXQiOjE3MjI1Mjg0MTl9.IMe1VGs-5blTCJJA1y76M8WNixMgms2C87kIkXQVcww";
|
|
8
8
|
/**
|
|
9
9
|
* Default settings for accessing the Cesium ion API.
|
|
10
10
|
*
|
|
@@ -627,6 +627,7 @@ const axesTransformation = new Matrix3(
|
|
|
627
627
|
0.9174820620691819
|
|
628
628
|
);
|
|
629
629
|
let translation = new Cartesian3();
|
|
630
|
+
|
|
630
631
|
/**
|
|
631
632
|
* Computes the position of the Sun in the Earth-centered inertial frame
|
|
632
633
|
*
|
|
@@ -662,7 +663,7 @@ Simon1994PlanetaryPositions.computeSunPositionInEarthInertialFrame = function (
|
|
|
662
663
|
/**
|
|
663
664
|
* Computes the position of the Moon in the Earth-centered inertial frame
|
|
664
665
|
*
|
|
665
|
-
* @param {JulianDate} [julianDate] The time at which to compute the
|
|
666
|
+
* @param {JulianDate} [julianDate] The time at which to compute the Moon's position, if not provided the current system time is used.
|
|
666
667
|
* @param {Cartesian3} [result] The object onto which to store the result.
|
|
667
668
|
* @returns {Cartesian3} Calculated moon position
|
|
668
669
|
*/
|
|
@@ -538,6 +538,35 @@ const wgs84WRPrecessing = 7.2921158553e-5;
|
|
|
538
538
|
const twoPiOverSecondsInDay = CesiumMath.TWO_PI / 86400.0;
|
|
539
539
|
let dateInUtc = new JulianDate();
|
|
540
540
|
|
|
541
|
+
/**
|
|
542
|
+
* The default function to compute a rotation matrix to transform a point or vector from the International Celestial
|
|
543
|
+
* Reference Frame (GCRF/ICRF) inertial frame axes to the central body, typically Earth, fixed frame axis at a given
|
|
544
|
+
* time for use in lighting and transformation from inertial reference frames. This function may return undefined if
|
|
545
|
+
* the data necessary to do the transformation is not yet loaded.
|
|
546
|
+
*
|
|
547
|
+
* @param {JulianDate} date The time at which to compute the rotation matrix.
|
|
548
|
+
* @param {Matrix3} [result] The object onto which to store the result. If this parameter is
|
|
549
|
+
* not specified, a new instance is created and returned.
|
|
550
|
+
* @returns {Matrix3|undefined} The rotation matrix, or undefined if the data necessary to do the
|
|
551
|
+
* transformation is not yet loaded.
|
|
552
|
+
*
|
|
553
|
+
* @example
|
|
554
|
+
* // Set the default ICRF to fixed transformation to that of the Moon.
|
|
555
|
+
* Cesium.Transforms.computeIcrfToCentralBodyFixedMatrix = Cesium.Transforms.computeIcrfToMoonFixedMatrix;
|
|
556
|
+
*
|
|
557
|
+
* @see Transforms.computeIcrfToFixedMatrix
|
|
558
|
+
* @see Transforms.computeTemeToPseudoFixedMatrix
|
|
559
|
+
* @see Transforms.computeIcrfToMoonFixedMatrix
|
|
560
|
+
*/
|
|
561
|
+
Transforms.computeIcrfToCentralBodyFixedMatrix = function (date, result) {
|
|
562
|
+
let transformMatrix = Transforms.computeIcrfToFixedMatrix(date, result);
|
|
563
|
+
if (!defined(transformMatrix)) {
|
|
564
|
+
transformMatrix = Transforms.computeTemeToPseudoFixedMatrix(date, result);
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
return transformMatrix;
|
|
568
|
+
};
|
|
569
|
+
|
|
541
570
|
/**
|
|
542
571
|
* Computes a rotation matrix to transform a point or vector from True Equator Mean Equinox (TEME) axes to the
|
|
543
572
|
* pseudo-fixed axes at a given time. This method treats the UT1 time standard as equivalent to UTC.
|
|
@@ -691,7 +720,7 @@ Transforms.preloadIcrfFixed = function (timeInterval) {
|
|
|
691
720
|
* @param {JulianDate} date The time at which to compute the rotation matrix.
|
|
692
721
|
* @param {Matrix3} [result] The object onto which to store the result. If this parameter is
|
|
693
722
|
* not specified, a new instance is created and returned.
|
|
694
|
-
* @returns {Matrix3} The rotation matrix, or undefined if the data necessary to do the
|
|
723
|
+
* @returns {Matrix3|undefined} The rotation matrix, or undefined if the data necessary to do the
|
|
695
724
|
* transformation is not yet loaded.
|
|
696
725
|
*
|
|
697
726
|
*
|
|
@@ -726,6 +755,112 @@ Transforms.computeIcrfToFixedMatrix = function (date, result) {
|
|
|
726
755
|
return Matrix3.transpose(fixedToIcrfMtx, result);
|
|
727
756
|
};
|
|
728
757
|
|
|
758
|
+
const TdtMinusTai = 32.184;
|
|
759
|
+
const J2000d = 2451545;
|
|
760
|
+
const scratchHpr = new HeadingPitchRoll();
|
|
761
|
+
const scratchRotationMatrix = new Matrix3();
|
|
762
|
+
const dateScratch = new JulianDate();
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Computes a rotation matrix to transform a point or vector from the Moon-Fixed frame axes
|
|
766
|
+
* to the International Celestial Reference Frame (GCRF/ICRF) inertial frame axes
|
|
767
|
+
* at a given time.
|
|
768
|
+
*
|
|
769
|
+
* @param {JulianDate} date The time at which to compute the rotation matrix.
|
|
770
|
+
* @param {Matrix3} [result] The object onto which to store the result. If this parameter is
|
|
771
|
+
* not specified, a new instance is created and returned.
|
|
772
|
+
* @returns {Matrix3} The rotation matrix.
|
|
773
|
+
*
|
|
774
|
+
* @example
|
|
775
|
+
* // Transform a point from the Fixed axes to the ICRF axes.
|
|
776
|
+
* const now = Cesium.JulianDate.now();
|
|
777
|
+
* const pointInFixed = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
778
|
+
* const fixedToIcrf = Cesium.Transforms.computeMoonFixedToIcrfMatrix(now);
|
|
779
|
+
* let pointInInertial = new Cesium.Cartesian3();
|
|
780
|
+
* if (Cesium.defined(fixedToIcrf)) {
|
|
781
|
+
* pointInInertial = Cesium.Matrix3.multiplyByVector(fixedToIcrf, pointInFixed, pointInInertial);
|
|
782
|
+
* }
|
|
783
|
+
*/
|
|
784
|
+
Transforms.computeMoonFixedToIcrfMatrix = function (date, result) {
|
|
785
|
+
//>>includeStart('debug', pragmas.debug);
|
|
786
|
+
if (!defined(date)) {
|
|
787
|
+
throw new DeveloperError("date is required.");
|
|
788
|
+
}
|
|
789
|
+
//>>includeEnd('debug');
|
|
790
|
+
|
|
791
|
+
if (!defined(result)) {
|
|
792
|
+
result = new Matrix3();
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
// Converts TAI to TT
|
|
796
|
+
const secondsTT = JulianDate.addSeconds(date, TdtMinusTai, dateScratch);
|
|
797
|
+
|
|
798
|
+
// Converts TT to TDB, interval in days since the standard epoch
|
|
799
|
+
const d = JulianDate.totalDays(secondsTT) - J2000d;
|
|
800
|
+
|
|
801
|
+
// Compute the approximate rotation, using https://articles.adsabs.harvard.edu//full/1980CeMec..22..205D/0000209.000.html
|
|
802
|
+
const e1 = CesiumMath.toRadians(12.112) - CesiumMath.toRadians(0.052992) * d;
|
|
803
|
+
const e2 = CesiumMath.toRadians(24.224) - CesiumMath.toRadians(0.105984) * d;
|
|
804
|
+
const e3 = CesiumMath.toRadians(227.645) + CesiumMath.toRadians(13.012) * d;
|
|
805
|
+
const e4 =
|
|
806
|
+
CesiumMath.toRadians(261.105) + CesiumMath.toRadians(13.340716) * d;
|
|
807
|
+
const e5 = CesiumMath.toRadians(358.0) + CesiumMath.toRadians(0.9856) * d;
|
|
808
|
+
|
|
809
|
+
scratchHpr.pitch =
|
|
810
|
+
CesiumMath.toRadians(270.0 - 90) -
|
|
811
|
+
CesiumMath.toRadians(3.878) * Math.sin(e1) -
|
|
812
|
+
CesiumMath.toRadians(0.12) * Math.sin(e2) +
|
|
813
|
+
CesiumMath.toRadians(0.07) * Math.sin(e3) -
|
|
814
|
+
CesiumMath.toRadians(0.017) * Math.sin(e4);
|
|
815
|
+
scratchHpr.roll =
|
|
816
|
+
CesiumMath.toRadians(66.53 - 90) +
|
|
817
|
+
CesiumMath.toRadians(1.543) * Math.cos(e1) +
|
|
818
|
+
CesiumMath.toRadians(0.24) * Math.cos(e2) -
|
|
819
|
+
CesiumMath.toRadians(0.028) * Math.cos(e3) +
|
|
820
|
+
CesiumMath.toRadians(0.007) * Math.cos(e4);
|
|
821
|
+
scratchHpr.heading =
|
|
822
|
+
CesiumMath.toRadians(244.375 - 90) +
|
|
823
|
+
CesiumMath.toRadians(13.17635831) * d +
|
|
824
|
+
CesiumMath.toRadians(3.558) * Math.sin(e1) +
|
|
825
|
+
CesiumMath.toRadians(0.121) * Math.sin(e2) -
|
|
826
|
+
CesiumMath.toRadians(0.064) * Math.sin(e3) +
|
|
827
|
+
CesiumMath.toRadians(0.016) * Math.sin(e4) +
|
|
828
|
+
CesiumMath.toRadians(0.025) * Math.sin(e5);
|
|
829
|
+
return Matrix3.fromHeadingPitchRoll(scratchHpr, scratchRotationMatrix);
|
|
830
|
+
};
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* Computes a rotation matrix to transform a point or vector from the International Celestial
|
|
834
|
+
* Reference Frame (GCRF/ICRF) inertial frame axes to the Moon-Fixed frame axes
|
|
835
|
+
* at a given time.
|
|
836
|
+
*
|
|
837
|
+
* @param {JulianDate} date The time at which to compute the rotation matrix.
|
|
838
|
+
* @param {Matrix3} [result] The object onto which to store the result. If this parameter is
|
|
839
|
+
* not specified, a new instance is created and returned.
|
|
840
|
+
* @returns {Matrix3} The rotation matrix.
|
|
841
|
+
*
|
|
842
|
+
* @example
|
|
843
|
+
* // Set the default ICRF to fixed transformation to that of the Moon.
|
|
844
|
+
* Cesium.Transforms.computeIcrfToCentralBodyFixedMatrix = Cesium.Transforms.computeIcrfToMoonFixedMatrix;
|
|
845
|
+
*/
|
|
846
|
+
Transforms.computeIcrfToMoonFixedMatrix = function (date, result) {
|
|
847
|
+
//>>includeStart('debug', pragmas.debug);
|
|
848
|
+
if (!defined(date)) {
|
|
849
|
+
throw new DeveloperError("date is required.");
|
|
850
|
+
}
|
|
851
|
+
//>>includeEnd('debug');
|
|
852
|
+
if (!defined(result)) {
|
|
853
|
+
result = new Matrix3();
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
const fixedToIcrfMtx = Transforms.computeMoonFixedToIcrfMatrix(date, result);
|
|
857
|
+
if (!defined(fixedToIcrfMtx)) {
|
|
858
|
+
return undefined;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
return Matrix3.transpose(fixedToIcrfMtx, result);
|
|
862
|
+
};
|
|
863
|
+
|
|
729
864
|
const xysScratch = new Iau2006XysSample(0.0, 0.0, 0.0);
|
|
730
865
|
const eopScratch = new EarthOrientationParametersSample(
|
|
731
866
|
0.0,
|
|
@@ -747,7 +882,7 @@ const rotation2Scratch = new Matrix3();
|
|
|
747
882
|
* @param {JulianDate} date The time at which to compute the rotation matrix.
|
|
748
883
|
* @param {Matrix3} [result] The object onto which to store the result. If this parameter is
|
|
749
884
|
* not specified, a new instance is created and returned.
|
|
750
|
-
* @returns {Matrix3} The rotation matrix, or undefined if the data necessary to do the
|
|
885
|
+
* @returns {Matrix3|undefined} The rotation matrix, or undefined if the data necessary to do the
|
|
751
886
|
* transformation is not yet loaded.
|
|
752
887
|
*
|
|
753
888
|
*
|
|
@@ -29,6 +29,7 @@ import createPropertyDescriptor from "./createPropertyDescriptor.js";
|
|
|
29
29
|
* @property {Property | BoundingRectangle} [imageSubRegion] A Property specifying a {@link BoundingRectangle} that defines a sub-region of the image to use for the billboard, rather than the entire image, measured in pixels from the bottom-left.
|
|
30
30
|
* @property {Property | DistanceDisplayCondition} [distanceDisplayCondition] A Property specifying at what distance from the camera that this billboard will be displayed.
|
|
31
31
|
* @property {Property | number} [disableDepthTestDistance] A Property specifying the distance from the camera at which to disable the depth test to.
|
|
32
|
+
* @property {Property | SplitDirection} [splitDirection] A Property specifying the {@link SplitDirection} of the billboard.
|
|
32
33
|
*/
|
|
33
34
|
|
|
34
35
|
/**
|
|
@@ -89,6 +90,8 @@ function BillboardGraphics(options) {
|
|
|
89
90
|
this._distanceDisplayConditionSubscription = undefined;
|
|
90
91
|
this._disableDepthTestDistance = undefined;
|
|
91
92
|
this._disableDepthTestDistanceSubscription = undefined;
|
|
93
|
+
this._splitDirection = undefined;
|
|
94
|
+
this._splitDirectionSubscription = undefined;
|
|
92
95
|
|
|
93
96
|
this.merge(defaultValue(options, defaultValue.EMPTY_OBJECT));
|
|
94
97
|
}
|
|
@@ -330,6 +333,14 @@ Object.defineProperties(BillboardGraphics.prototype, {
|
|
|
330
333
|
disableDepthTestDistance: createPropertyDescriptor(
|
|
331
334
|
"disableDepthTestDistance"
|
|
332
335
|
),
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Gets or sets the Property specifying the {@link SplitDirection} of this billboard.
|
|
339
|
+
* @memberof BillboardGraphics.prototype
|
|
340
|
+
* @type {Property|undefined}
|
|
341
|
+
* @default SplitDirection.NONE
|
|
342
|
+
*/
|
|
343
|
+
splitDirection: createPropertyDescriptor("splitDirection"),
|
|
333
344
|
});
|
|
334
345
|
|
|
335
346
|
/**
|
|
@@ -362,6 +373,7 @@ BillboardGraphics.prototype.clone = function (result) {
|
|
|
362
373
|
result.imageSubRegion = this._imageSubRegion;
|
|
363
374
|
result.distanceDisplayCondition = this._distanceDisplayCondition;
|
|
364
375
|
result.disableDepthTestDistance = this._disableDepthTestDistance;
|
|
376
|
+
result.splitDirection = this._splitDirection;
|
|
365
377
|
return result;
|
|
366
378
|
};
|
|
367
379
|
|
|
@@ -425,5 +437,9 @@ BillboardGraphics.prototype.merge = function (source) {
|
|
|
425
437
|
this._disableDepthTestDistance,
|
|
426
438
|
source.disableDepthTestDistance
|
|
427
439
|
);
|
|
440
|
+
this.splitDirection = defaultValue(
|
|
441
|
+
this.splitDirection,
|
|
442
|
+
source.splitDirection
|
|
443
|
+
);
|
|
428
444
|
};
|
|
429
445
|
export default BillboardGraphics;
|
|
@@ -13,6 +13,7 @@ import HorizontalOrigin from "../Scene/HorizontalOrigin.js";
|
|
|
13
13
|
import VerticalOrigin from "../Scene/VerticalOrigin.js";
|
|
14
14
|
import BoundingSphereState from "./BoundingSphereState.js";
|
|
15
15
|
import Property from "./Property.js";
|
|
16
|
+
import SplitDirection from "../Scene/SplitDirection.js";
|
|
16
17
|
|
|
17
18
|
const defaultColor = Color.WHITE;
|
|
18
19
|
const defaultEyeOffset = Cartesian3.ZERO;
|
|
@@ -24,6 +25,7 @@ const defaultAlignedAxis = Cartesian3.ZERO;
|
|
|
24
25
|
const defaultHorizontalOrigin = HorizontalOrigin.CENTER;
|
|
25
26
|
const defaultVerticalOrigin = VerticalOrigin.CENTER;
|
|
26
27
|
const defaultSizeInMeters = false;
|
|
28
|
+
const defaultSplitDirection = SplitDirection.NONE;
|
|
27
29
|
|
|
28
30
|
const positionScratch = new Cartesian3();
|
|
29
31
|
const colorScratch = new Color();
|
|
@@ -219,6 +221,11 @@ BillboardVisualizer.prototype.update = function (time) {
|
|
|
219
221
|
billboardGraphics._disableDepthTestDistance,
|
|
220
222
|
time
|
|
221
223
|
);
|
|
224
|
+
billboard.splitDirection = Property.getValueOrDefault(
|
|
225
|
+
billboardGraphics._splitDirection,
|
|
226
|
+
time,
|
|
227
|
+
defaultSplitDirection
|
|
228
|
+
);
|
|
222
229
|
|
|
223
230
|
const subRegion = Property.getValueOrUndefined(
|
|
224
231
|
billboardGraphics._imageSubRegion,
|
|
@@ -430,10 +430,10 @@ function PolylineUpdater(scene, referenceFrame) {
|
|
|
430
430
|
|
|
431
431
|
PolylineUpdater.prototype.update = function (time) {
|
|
432
432
|
if (this._referenceFrame === ReferenceFrame.INERTIAL) {
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
433
|
+
const toFixed = Transforms.computeIcrfToCentralBodyFixedMatrix(
|
|
434
|
+
time,
|
|
435
|
+
toFixedScratch
|
|
436
|
+
);
|
|
437
437
|
Matrix4.fromRotationTranslation(
|
|
438
438
|
toFixed,
|
|
439
439
|
Cartesian3.ZERO,
|