@cesium/engine 13.1.0 → 15.0.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-APCS5YJI.js → chunk-25TOENEE.js} +7 -7
- package/Build/Workers/{chunk-FNCXBBCF.js → chunk-2AVIUB5H.js} +2 -2
- package/Build/Workers/{chunk-OZTFRHA2.js → chunk-3JZGPJMZ.js} +6 -6
- package/Build/Workers/{chunk-5JY4LYO3.js → chunk-3LHBH4TC.js} +7 -7
- package/Build/Workers/{chunk-MGABCOOH.js → chunk-3LZF23RY.js} +6 -6
- package/Build/Workers/{chunk-AXYZUG4N.js → chunk-5S2B46UQ.js} +1 -1
- package/Build/Workers/{chunk-2SRHVCFD.js → chunk-67ONR44K.js} +6 -6
- package/Build/Workers/{chunk-PBJQFLKS.js → chunk-6EDBC234.js} +11 -11
- package/Build/Workers/{chunk-GSLKQJM2.js → chunk-6EV4VOET.js} +10 -10
- package/Build/Workers/{chunk-OGRXNUR2.js → chunk-7ITUZTFH.js} +1 -1
- package/Build/Workers/{chunk-IP7F2MVW.js → chunk-ARVZCY6X.js} +7 -7
- package/Build/Workers/{chunk-EYZFEJX3.js → chunk-B2UQN3DH.js} +6 -6
- package/Build/Workers/{chunk-WE4KF4AM.js → chunk-B2Y4ZS6X.js} +9 -9
- package/Build/Workers/{chunk-DWIKWWEE.js → chunk-BD2TPFGC.js} +5 -5
- package/Build/Workers/{chunk-5ICYLS6B.js → chunk-CHX2K5AC.js} +10 -10
- package/Build/Workers/{chunk-NQDKNE7V.js → chunk-CJGVEABL.js} +13 -13
- package/Build/Workers/{chunk-B34JXFHF.js → chunk-DYJHEP3B.js} +5 -5
- package/Build/Workers/{chunk-J7BMSSY7.js → chunk-E3H7AVMK.js} +13 -13
- package/Build/Workers/{chunk-TOHDFUJM.js → chunk-EZNAJPP5.js} +4 -4
- package/Build/Workers/{chunk-K62EHZFT.js → chunk-F7ZI463G.js} +15 -15
- package/Build/Workers/{chunk-EJ5DT5BP.js → chunk-FMZ5CX6V.js} +1 -1
- package/Build/Workers/{chunk-OARMSJUU.js → chunk-FRAWHNSR.js} +2 -2
- package/Build/Workers/{chunk-S3UM4OKP.js → chunk-GGV2XJHE.js} +7 -7
- package/Build/Workers/{chunk-SAKQO5NX.js → chunk-GK4QU6QI.js} +2 -2
- package/Build/Workers/{chunk-LFUFGHL3.js → chunk-HYPB7FAV.js} +10 -10
- package/Build/Workers/{chunk-3SCCWLZS.js → chunk-I4HO2ED2.js} +9 -9
- package/Build/Workers/{chunk-K6SQV4IS.js → chunk-IGINOLDX.js} +6 -6
- package/Build/Workers/{chunk-IXNXKVOB.js → chunk-ISQSYLZY.js} +4 -4
- package/Build/Workers/{chunk-PM76TX2X.js → chunk-JZAMRL5I.js} +6 -6
- package/Build/Workers/{chunk-CBE4HRBH.js → chunk-K5G2WELR.js} +7 -7
- package/Build/Workers/{chunk-EHGQQA7C.js → chunk-L5SO4Y5V.js} +1 -1
- package/Build/Workers/{chunk-M2AA2ARJ.js → chunk-LCMJQVIF.js} +11 -11
- package/Build/Workers/{chunk-HI73PIPQ.js → chunk-MWJW37I7.js} +2 -2
- package/Build/Workers/{chunk-WAJNX74N.js → chunk-NAGMYRDW.js} +27 -20
- package/Build/Workers/{chunk-WUIDEXAN.js → chunk-OYO6TKMU.js} +7 -7
- package/Build/Workers/{chunk-YVGU235V.js → chunk-PUTA3AE2.js} +4 -4
- package/Build/Workers/{chunk-ZWSWJYJP.js → chunk-Q5BHMNKU.js} +13 -13
- package/Build/Workers/{chunk-LQT2ZK7D.js → chunk-QTEX3Y4V.js} +17 -17
- package/Build/Workers/{chunk-UBAHTE4Q.js → chunk-QZKN2RXM.js} +1 -1
- package/Build/Workers/{chunk-T34EOLFR.js → chunk-RO2Z3LCR.js} +14 -14
- package/Build/Workers/{chunk-PTFIVVLX.js → chunk-RRN6LRDX.js} +12 -12
- package/Build/Workers/{chunk-B6IJY6AN.js → chunk-SLIA3GQP.js} +7 -7
- package/Build/Workers/{chunk-GIOZHX7U.js → chunk-TFCOEX3W.js} +2 -2
- package/Build/Workers/{chunk-KRVALCCI.js → chunk-TU6ZXHVU.js} +5 -5
- package/Build/Workers/{chunk-54I6VSRP.js → chunk-VJ2PDF64.js} +6 -6
- package/Build/Workers/{chunk-BMFWWTD7.js → chunk-VMVPONIV.js} +5 -5
- package/Build/Workers/{chunk-CNPP6TQ2.js → chunk-WPXU45PH.js} +4 -4
- package/Build/Workers/{chunk-2ONAV62A.js → chunk-XDHM4G3P.js} +7 -7
- package/Build/Workers/{chunk-KO232FLP.js → chunk-XED3RXKO.js} +2 -2
- package/Build/Workers/{chunk-5I3LPAS7.js → chunk-YNYCGTQH.js} +5 -5
- package/Build/Workers/{chunk-THDHWSEJ.js → chunk-Z4SI54EB.js} +4 -4
- package/Build/Workers/{chunk-R2KGFZBA.js → chunk-ZVDLC3T4.js} +13 -13
- 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 +15 -14
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/transcodeKTX2.js +50 -43
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -20
- package/Source/Core/Color.js +3 -3
- package/Source/Core/Credit.js +3 -3
- package/Source/Core/DistanceDisplayCondition.js +3 -3
- package/Source/Core/EllipsoidRhumbLine.js +1 -1
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/OrientedBoundingBox.js +2 -2
- package/Source/Core/PolygonGeometryLibrary.js +26 -4
- package/Source/Core/Spherical.js +3 -3
- package/Source/Core/TexturePacker.js +166 -0
- package/Source/Core/writeTextToCanvas.js +0 -1
- package/Source/DataSources/BillboardVisualizer.js +3 -3
- package/Source/DataSources/BoundingSphereState.js +3 -3
- package/Source/DataSources/DataSourceClock.js +1 -1
- package/Source/DataSources/DataSourceDisplay.js +5 -2
- package/Source/DataSources/EntityCluster.js +44 -19
- package/Source/Renderer/AutomaticUniforms.js +2 -2
- package/Source/Renderer/Context.js +0 -4
- package/Source/Renderer/Texture.js +6 -5
- package/Source/Renderer/TextureAtlas.js +802 -0
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +87 -142
- package/Source/Scene/BillboardCollection.js +132 -202
- package/Source/Scene/BillboardLoadState.js +44 -0
- package/Source/Scene/BillboardTexture.js +348 -0
- package/Source/Scene/Camera.js +2 -2
- package/Source/Scene/Cesium3DTile.js +56 -28
- package/Source/Scene/Cesium3DTilesVoxelProvider.js +403 -132
- package/Source/Scene/Cesium3DTilesetStatistics.js +0 -1
- package/Source/Scene/ClippingPolygon.js +2 -2
- package/Source/Scene/Expression.js +1 -0
- package/Source/Scene/GltfDracoLoader.js +45 -0
- package/Source/Scene/GltfIndexBufferLoader.js +5 -0
- package/Source/Scene/GltfLoader.js +22 -9
- package/Source/Scene/GltfVertexBufferLoader.js +13 -0
- package/Source/Scene/ITwinData.js +47 -1
- package/Source/Scene/ImageryLayer.js +1 -1
- package/Source/Scene/ImplicitSubtree.js +2 -0
- package/Source/Scene/KeyframeNode.js +16 -2
- package/Source/Scene/Label.js +1 -1
- package/Source/Scene/LabelCollection.js +212 -193
- package/Source/Scene/Megatexture.js +145 -81
- package/Source/Scene/Model/CustomShader.js +0 -2
- package/Source/Scene/Model/Model.js +1 -1
- package/Source/Scene/Model/ModelUtility.js +5 -1
- package/Source/Scene/Multiple3DTileContent.js +21 -8
- package/Source/Scene/PointPrimitive.js +1 -1
- package/Source/Scene/ResourceCache.js +17 -1
- package/Source/Scene/Scene.js +39 -15
- package/Source/Scene/ScreenSpaceCameraController.js +0 -8
- package/Source/Scene/SpatialNode.js +4 -11
- package/Source/Scene/Vector3DTilePoints.js +2 -5
- package/Source/Scene/VoxelBoxShape.js +12 -5
- package/Source/Scene/VoxelCell.js +6 -5
- package/Source/Scene/VoxelContent.js +171 -107
- package/Source/Scene/VoxelCylinderShape.js +65 -58
- package/Source/Scene/VoxelEllipsoidShape.js +15 -5
- package/Source/Scene/VoxelMetadataOrder.js +12 -0
- package/Source/Scene/VoxelPrimitive.js +245 -53
- package/Source/Scene/VoxelProvider.js +44 -29
- package/Source/Scene/VoxelRenderResources.js +30 -7
- package/Source/Scene/VoxelShape.js +10 -3
- package/Source/Scene/VoxelTraversal.js +326 -166
- package/Source/Scene/WebMapTileServiceImageryProvider.js +2 -2
- package/Source/Scene/createGooglePhotorealistic3DTileset.js +5 -8
- package/Source/Scene/processVoxelProperties.js +3 -0
- package/Source/Shaders/GlobeFS.glsl +10 -1
- package/Source/Shaders/GlobeFS.js +10 -1
- package/Source/Shaders/PolylineCommon.glsl +1 -1
- package/Source/Shaders/PolylineCommon.js +1 -1
- package/Source/Shaders/Voxels/Megatexture.glsl +4 -16
- package/Source/Shaders/Voxels/Megatexture.js +4 -16
- package/Source/Shaders/Voxels/Octree.glsl +44 -7
- package/Source/Shaders/Voxels/Octree.js +44 -7
- package/Source/Shaders/Voxels/VoxelFS.glsl +9 -15
- package/Source/Shaders/Voxels/VoxelFS.js +9 -15
- package/Source/Shaders/Voxels/convertUvToCylinder.glsl +15 -15
- package/Source/Shaders/Voxels/convertUvToCylinder.js +15 -15
- package/Source/Widget/CesiumWidget.js +16 -10
- package/Source/Workers/decodeDraco.js +4 -4
- package/index.d.ts +321 -110
- package/index.js +209 -205
- package/package.json +2 -2
- package/Source/Scene/TextureAtlas.js +0 -558
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.127
|
|
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-B2UQN3DH.js";
|
|
29
|
+
import "./chunk-LCMJQVIF.js";
|
|
30
|
+
import "./chunk-VJ2PDF64.js";
|
|
31
|
+
import "./chunk-YNYCGTQH.js";
|
|
32
|
+
import "./chunk-3LZF23RY.js";
|
|
33
|
+
import "./chunk-25TOENEE.js";
|
|
34
|
+
import "./chunk-3JZGPJMZ.js";
|
|
35
35
|
import {
|
|
36
36
|
IndexDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-VMVPONIV.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttributes_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XED3RXKO.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttribute_default,
|
|
43
43
|
Geometry_default,
|
|
44
44
|
PrimitiveType_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-K5G2WELR.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-SLIA3GQP.js";
|
|
49
|
+
import "./chunk-XDHM4G3P.js";
|
|
50
50
|
import {
|
|
51
51
|
ComponentDatatype_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-DYJHEP3B.js";
|
|
53
53
|
import {
|
|
54
54
|
Cartesian3_default,
|
|
55
55
|
Ellipsoid_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-TU6ZXHVU.js";
|
|
57
57
|
import {
|
|
58
58
|
Math_default
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-EZNAJPP5.js";
|
|
60
|
+
import "./chunk-5S2B46UQ.js";
|
|
61
|
+
import "./chunk-GK4QU6QI.js";
|
|
62
62
|
import {
|
|
63
63
|
defaultValue_default
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-QZKN2RXM.js";
|
|
65
65
|
import {
|
|
66
66
|
DeveloperError_default
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-2AVIUB5H.js";
|
|
68
68
|
import {
|
|
69
69
|
defined_default
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-7ITUZTFH.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.127
|
|
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-TFCOEX3W.js";
|
|
29
29
|
import {
|
|
30
30
|
createTaskProcessorWorker_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FRAWHNSR.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VMVPONIV.js";
|
|
35
35
|
import {
|
|
36
36
|
ComponentDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-DYJHEP3B.js";
|
|
38
|
+
import "./chunk-EZNAJPP5.js";
|
|
39
|
+
import "./chunk-5S2B46UQ.js";
|
|
40
40
|
import {
|
|
41
41
|
RuntimeError_default
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-GK4QU6QI.js";
|
|
43
|
+
import "./chunk-QZKN2RXM.js";
|
|
44
|
+
import "./chunk-2AVIUB5H.js";
|
|
45
45
|
import {
|
|
46
46
|
__toESM,
|
|
47
47
|
defined_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-7ITUZTFH.js";
|
|
49
49
|
|
|
50
50
|
// packages/engine/Source/Workers/decodeDraco.js
|
|
51
51
|
var import_draco_decoder_nodejs = __toESM(require_draco_decoder_nodejs(), 1);
|
|
@@ -296,10 +296,11 @@ function decodePointCloud(parameters) {
|
|
|
296
296
|
}
|
|
297
297
|
function decodePrimitive(parameters) {
|
|
298
298
|
const dracoDecoder = new draco.Decoder();
|
|
299
|
-
const attributesToSkip = ["POSITION", "NORMAL", "COLOR", "TEX_COORD"];
|
|
300
299
|
if (parameters.dequantizeInShader) {
|
|
301
|
-
for (let i = 0; i <
|
|
302
|
-
dracoDecoder.SkipAttributeTransform(
|
|
300
|
+
for (let i = 0; i < parameters.attributesToSkipTransform.length; ++i) {
|
|
301
|
+
dracoDecoder.SkipAttributeTransform(
|
|
302
|
+
draco[parameters.attributesToSkipTransform[i]]
|
|
303
|
+
);
|
|
303
304
|
}
|
|
304
305
|
}
|
|
305
306
|
const bufferView = parameters.bufferView;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.127
|
|
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-FRAWHNSR.js";
|
|
29
29
|
import {
|
|
30
30
|
RuntimeError_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GK4QU6QI.js";
|
|
32
32
|
import {
|
|
33
33
|
Check_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2AVIUB5H.js";
|
|
35
35
|
import {
|
|
36
36
|
__commonJS,
|
|
37
37
|
__toESM,
|
|
38
38
|
defined_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7ITUZTFH.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.127
|
|
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-TFCOEX3W.js";
|
|
29
29
|
import {
|
|
30
30
|
Color_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JZAMRL5I.js";
|
|
32
32
|
import {
|
|
33
33
|
createTaskProcessorWorker_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FRAWHNSR.js";
|
|
35
35
|
import {
|
|
36
36
|
WebMercatorProjection_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-IGINOLDX.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-TU6ZXHVU.js";
|
|
44
44
|
import {
|
|
45
45
|
Math_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-EZNAJPP5.js";
|
|
47
47
|
import {
|
|
48
48
|
defaultValue_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QZKN2RXM.js";
|
|
50
50
|
import {
|
|
51
51
|
Check_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-2AVIUB5H.js";
|
|
53
53
|
import {
|
|
54
54
|
__toESM,
|
|
55
55
|
defined_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-7ITUZTFH.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.127
|
|
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-FRAWHNSR.js";
|
|
29
29
|
import {
|
|
30
30
|
WebGLConstants_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5S2B46UQ.js";
|
|
32
32
|
import {
|
|
33
33
|
RuntimeError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GK4QU6QI.js";
|
|
35
35
|
import {
|
|
36
36
|
defaultValue_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QZKN2RXM.js";
|
|
38
38
|
import {
|
|
39
39
|
Check_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-2AVIUB5H.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__require,
|
|
44
44
|
__toESM,
|
|
45
45
|
defined_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-7ITUZTFH.js";
|
|
47
47
|
|
|
48
48
|
// packages/engine/Source/ThirdParty/Workers/basis_transcoder.js
|
|
49
49
|
var require_basis_transcoder = __commonJS({
|
|
@@ -2918,21 +2918,20 @@ var KHR_DF_TRANSFER_SRGB = 2;
|
|
|
2918
2918
|
var KHR_DF_PRIMARIES_BT709 = 1;
|
|
2919
2919
|
var KHR_DF_SAMPLE_DATATYPE_SIGNED = 64;
|
|
2920
2920
|
var VK_FORMAT_UNDEFINED = 0;
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2921
|
+
function createDefaultContainer() {
|
|
2922
|
+
return {
|
|
2923
|
+
vkFormat: VK_FORMAT_UNDEFINED,
|
|
2924
|
+
typeSize: 1,
|
|
2925
|
+
pixelWidth: 0,
|
|
2926
|
+
pixelHeight: 0,
|
|
2927
|
+
pixelDepth: 0,
|
|
2928
|
+
layerCount: 0,
|
|
2929
|
+
faceCount: 1,
|
|
2930
|
+
supercompressionScheme: KHR_SUPERCOMPRESSION_NONE,
|
|
2931
|
+
levels: [],
|
|
2932
|
+
dataFormatDescriptor: [{
|
|
2933
2933
|
vendorId: KHR_DF_VENDORID_KHRONOS,
|
|
2934
2934
|
descriptorType: KHR_DF_KHR_DESCRIPTORTYPE_BASICFORMAT,
|
|
2935
|
-
descriptorBlockSize: 0,
|
|
2936
2935
|
versionNumber: KHR_DF_VERSION,
|
|
2937
2936
|
colorModel: KHR_DF_MODEL_UNSPECIFIED,
|
|
2938
2937
|
colorPrimaries: KHR_DF_PRIMARIES_BT709,
|
|
@@ -2941,11 +2940,11 @@ var KTX2Container = class {
|
|
|
2941
2940
|
texelBlockDimension: [0, 0, 0, 0],
|
|
2942
2941
|
bytesPlane: [0, 0, 0, 0, 0, 0, 0, 0],
|
|
2943
2942
|
samples: []
|
|
2944
|
-
}]
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
}
|
|
2948
|
-
}
|
|
2943
|
+
}],
|
|
2944
|
+
keyValue: {},
|
|
2945
|
+
globalData: null
|
|
2946
|
+
};
|
|
2947
|
+
}
|
|
2949
2948
|
var BufferReader = class {
|
|
2950
2949
|
constructor(data, byteOffset, byteLength, littleEndian) {
|
|
2951
2950
|
this._dataView = void 0;
|
|
@@ -3037,7 +3036,7 @@ function read2(data) {
|
|
|
3037
3036
|
id[11] !== KTX2_ID[11]) {
|
|
3038
3037
|
throw new Error("Missing KTX 2.0 identifier.");
|
|
3039
3038
|
}
|
|
3040
|
-
const container =
|
|
3039
|
+
const container = createDefaultContainer();
|
|
3041
3040
|
const headerByteLength = 17 * Uint32Array.BYTES_PER_ELEMENT;
|
|
3042
3041
|
const headerReader = new BufferReader(data, KTX2_ID.length, headerByteLength, true);
|
|
3043
3042
|
container.vkFormat = headerReader._nextUint32();
|
|
@@ -3064,33 +3063,41 @@ function read2(data) {
|
|
|
3064
3063
|
});
|
|
3065
3064
|
}
|
|
3066
3065
|
const dfdReader = new BufferReader(data, dfdByteOffset, dfdByteLength, true);
|
|
3066
|
+
dfdReader._skip(4);
|
|
3067
|
+
const vendorId = dfdReader._nextUint16();
|
|
3068
|
+
const descriptorType = dfdReader._nextUint16();
|
|
3069
|
+
const versionNumber = dfdReader._nextUint16();
|
|
3070
|
+
const descriptorBlockSize = dfdReader._nextUint16();
|
|
3071
|
+
const colorModel = dfdReader._nextUint8();
|
|
3072
|
+
const colorPrimaries = dfdReader._nextUint8();
|
|
3073
|
+
const transferFunction = dfdReader._nextUint8();
|
|
3074
|
+
const flags = dfdReader._nextUint8();
|
|
3075
|
+
const texelBlockDimension = [dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8()];
|
|
3076
|
+
const bytesPlane = [dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8()];
|
|
3077
|
+
const samples = [];
|
|
3067
3078
|
const dfd = {
|
|
3068
|
-
vendorId
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
flags: dfdReader._nextUint8(),
|
|
3079
|
-
texelBlockDimension: [dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8()],
|
|
3080
|
-
bytesPlane: [dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8()],
|
|
3081
|
-
samples: []
|
|
3079
|
+
vendorId,
|
|
3080
|
+
descriptorType,
|
|
3081
|
+
versionNumber,
|
|
3082
|
+
colorModel,
|
|
3083
|
+
colorPrimaries,
|
|
3084
|
+
transferFunction,
|
|
3085
|
+
flags,
|
|
3086
|
+
texelBlockDimension,
|
|
3087
|
+
bytesPlane,
|
|
3088
|
+
samples
|
|
3082
3089
|
};
|
|
3083
3090
|
const sampleStart = 6;
|
|
3084
3091
|
const sampleWords = 4;
|
|
3085
|
-
const numSamples = (
|
|
3092
|
+
const numSamples = (descriptorBlockSize / 4 - sampleStart) / sampleWords;
|
|
3086
3093
|
for (let i = 0; i < numSamples; i++) {
|
|
3087
3094
|
const sample = {
|
|
3088
3095
|
bitOffset: dfdReader._nextUint16(),
|
|
3089
3096
|
bitLength: dfdReader._nextUint8(),
|
|
3090
3097
|
channelType: dfdReader._nextUint8(),
|
|
3091
3098
|
samplePosition: [dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8(), dfdReader._nextUint8()],
|
|
3092
|
-
sampleLower:
|
|
3093
|
-
sampleUpper:
|
|
3099
|
+
sampleLower: Number.NEGATIVE_INFINITY,
|
|
3100
|
+
sampleUpper: Number.POSITIVE_INFINITY
|
|
3094
3101
|
};
|
|
3095
3102
|
if (sample.channelType & KHR_DF_SAMPLE_DATATYPE_SIGNED) {
|
|
3096
3103
|
sample.sampleLower = dfdReader._nextInt32();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.127
|
|
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-HYPB7FAV.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FRAWHNSR.js";
|
|
33
33
|
import {
|
|
34
34
|
OrientedBoundingBox_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6EV4VOET.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-ARVZCY6X.js";
|
|
39
|
+
import "./chunk-B2Y4ZS6X.js";
|
|
40
|
+
import "./chunk-67ONR44K.js";
|
|
41
|
+
import "./chunk-25TOENEE.js";
|
|
42
|
+
import "./chunk-3JZGPJMZ.js";
|
|
43
43
|
import {
|
|
44
44
|
IndexDatatype_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VMVPONIV.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SLIA3GQP.js";
|
|
49
49
|
import {
|
|
50
50
|
Rectangle_default
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-XDHM4G3P.js";
|
|
52
|
+
import "./chunk-DYJHEP3B.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-TU6ZXHVU.js";
|
|
59
59
|
import {
|
|
60
60
|
Math_default
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-EZNAJPP5.js";
|
|
62
|
+
import "./chunk-5S2B46UQ.js";
|
|
63
|
+
import "./chunk-GK4QU6QI.js";
|
|
64
|
+
import "./chunk-QZKN2RXM.js";
|
|
65
65
|
import {
|
|
66
66
|
Check_default,
|
|
67
67
|
DeveloperError_default
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-2AVIUB5H.js";
|
|
69
69
|
import {
|
|
70
70
|
defined_default
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-7ITUZTFH.js";
|
|
72
72
|
|
|
73
73
|
// packages/engine/Source/Core/Intersections2D.js
|
|
74
74
|
var Intersections2D = {};
|
package/Source/Core/Color.js
CHANGED
|
@@ -536,8 +536,8 @@ Color.clone = function (color, result) {
|
|
|
536
536
|
/**
|
|
537
537
|
* Returns true if the first Color equals the second color.
|
|
538
538
|
*
|
|
539
|
-
* @param {Color} left The first Color to compare for equality.
|
|
540
|
-
* @param {Color} right The second Color to compare for equality.
|
|
539
|
+
* @param {Color} [left] The first Color to compare for equality.
|
|
540
|
+
* @param {Color} [right] The second Color to compare for equality.
|
|
541
541
|
* @returns {boolean} <code>true</code> if the Colors are equal; otherwise, <code>false</code>.
|
|
542
542
|
*/
|
|
543
543
|
Color.equals = function (left, right) {
|
|
@@ -577,7 +577,7 @@ Color.prototype.clone = function (result) {
|
|
|
577
577
|
/**
|
|
578
578
|
* Returns true if this Color equals other.
|
|
579
579
|
*
|
|
580
|
-
* @param {Color} other The Color to compare for equality.
|
|
580
|
+
* @param {Color} [other] The Color to compare for equality.
|
|
581
581
|
* @returns {boolean} <code>true</code> if the Colors are equal; otherwise, <code>false</code>.
|
|
582
582
|
*/
|
|
583
583
|
Color.prototype.equals = function (other) {
|
package/Source/Core/Credit.js
CHANGED
|
@@ -115,8 +115,8 @@ Object.defineProperties(Credit.prototype, {
|
|
|
115
115
|
/**
|
|
116
116
|
* Returns true if the credits are equal
|
|
117
117
|
*
|
|
118
|
-
* @param {Credit} left The first credit
|
|
119
|
-
* @param {Credit} right The second credit
|
|
118
|
+
* @param {Credit} [left] The first credit
|
|
119
|
+
* @param {Credit} [right] The second credit
|
|
120
120
|
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
|
121
121
|
*/
|
|
122
122
|
Credit.equals = function (left, right) {
|
|
@@ -132,7 +132,7 @@ Credit.equals = function (left, right) {
|
|
|
132
132
|
/**
|
|
133
133
|
* Returns true if the credits are equal
|
|
134
134
|
*
|
|
135
|
-
* @param {Credit} credit The credit to compare to.
|
|
135
|
+
* @param {Credit} [credit] The credit to compare to.
|
|
136
136
|
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
|
137
137
|
*/
|
|
138
138
|
Credit.prototype.equals = function (credit) {
|
|
@@ -115,8 +115,8 @@ DistanceDisplayCondition.unpack = function (array, startingIndex, result) {
|
|
|
115
115
|
/**
|
|
116
116
|
* Determines if two distance display conditions are equal.
|
|
117
117
|
*
|
|
118
|
-
* @param {DistanceDisplayCondition} left A distance display condition.
|
|
119
|
-
* @param {DistanceDisplayCondition} right Another distance display condition.
|
|
118
|
+
* @param {DistanceDisplayCondition} [left] A distance display condition.
|
|
119
|
+
* @param {DistanceDisplayCondition} [right] Another distance display condition.
|
|
120
120
|
* @return {boolean} Whether the two distance display conditions are equal.
|
|
121
121
|
*/
|
|
122
122
|
DistanceDisplayCondition.equals = function (left, right) {
|
|
@@ -163,7 +163,7 @@ DistanceDisplayCondition.prototype.clone = function (result) {
|
|
|
163
163
|
/**
|
|
164
164
|
* Determines if this distance display condition is equal to another.
|
|
165
165
|
*
|
|
166
|
-
* @param {DistanceDisplayCondition} other Another distance display condition.
|
|
166
|
+
* @param {DistanceDisplayCondition} [other] Another distance display condition.
|
|
167
167
|
* @return {boolean} Whether this distance display condition is equal to the other.
|
|
168
168
|
*/
|
|
169
169
|
DistanceDisplayCondition.prototype.equals = function (other) {
|
|
@@ -562,7 +562,7 @@ EllipsoidRhumbLine.prototype.interpolateUsingFraction = function (
|
|
|
562
562
|
/**
|
|
563
563
|
* Provides the location of a point at the indicated distance along the rhumb line.
|
|
564
564
|
*
|
|
565
|
-
* @param {number} distance The distance from the
|
|
565
|
+
* @param {number} distance The distance from the initial point to the point of interest along the rhumbLine.
|
|
566
566
|
* @param {Cartographic} [result] The object in which to store the result.
|
|
567
567
|
* @returns {Cartographic} The location of the point along the rhumb line.
|
|
568
568
|
*
|
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.eyJqdGkiOiJiNTZhYmEzOS1hNmFhLTQ1OTAtODk0Mi1lM2U3M2FlMjIxZTMiLCJpZCI6MjU5LCJpYXQiOjE3NDEwMTMyNzF9.J_SThPuEuresJ_TioZat6GbGcDLEruo269cV5QQxiqM";
|
|
8
8
|
/**
|
|
9
9
|
* Default settings for accessing the Cesium ion API.
|
|
10
10
|
*
|
|
@@ -1236,8 +1236,8 @@ OrientedBoundingBox.prototype.isOccluded = function (occluder) {
|
|
|
1236
1236
|
* Compares the provided OrientedBoundingBox componentwise and returns
|
|
1237
1237
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
|
1238
1238
|
*
|
|
1239
|
-
* @param {OrientedBoundingBox} left The first OrientedBoundingBox.
|
|
1240
|
-
* @param {OrientedBoundingBox} right The second OrientedBoundingBox.
|
|
1239
|
+
* @param {OrientedBoundingBox} [left] The first OrientedBoundingBox.
|
|
1240
|
+
* @param {OrientedBoundingBox} [right] The second OrientedBoundingBox.
|
|
1241
1241
|
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
|
1242
1242
|
*/
|
|
1243
1243
|
OrientedBoundingBox.equals = function (left, right) {
|
|
@@ -312,6 +312,18 @@ PolygonGeometryLibrary.subdivideTexcoordRhumbLine = function (
|
|
|
312
312
|
return texcoords;
|
|
313
313
|
};
|
|
314
314
|
|
|
315
|
+
/**
|
|
316
|
+
* Subdivide the line between 2 points every minDistance length
|
|
317
|
+
* If the points are already closer than minDistance the first will be returned
|
|
318
|
+
*
|
|
319
|
+
* @private
|
|
320
|
+
* @param {Ellipsoid} ellipsoid
|
|
321
|
+
* @param {Cartesian3} p0 start point
|
|
322
|
+
* @param {Cartesian3} p1 end point
|
|
323
|
+
* @param {number} minDistance minimum distance between points in radians
|
|
324
|
+
* @param {number[]} [result] if provided positions will be packed into this array starting at index 0
|
|
325
|
+
* @returns {number[]} Cartesian3 positions packed into an array
|
|
326
|
+
*/
|
|
315
327
|
PolygonGeometryLibrary.subdivideRhumbLine = function (
|
|
316
328
|
ellipsoid,
|
|
317
329
|
p0,
|
|
@@ -323,15 +335,25 @@ PolygonGeometryLibrary.subdivideRhumbLine = function (
|
|
|
323
335
|
const c1 = ellipsoid.cartesianToCartographic(p1, scratchCartographic1);
|
|
324
336
|
const rhumb = new EllipsoidRhumbLine(c0, c1, ellipsoid);
|
|
325
337
|
|
|
338
|
+
if (!defined(result)) {
|
|
339
|
+
result = [];
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
if (rhumb.surfaceDistance <= minDistance) {
|
|
343
|
+
// no need to try and subdivide a line that's already shorter than the min distance
|
|
344
|
+
// this also inherently handles duplicated points which would have 0 distance
|
|
345
|
+
result.length = 3;
|
|
346
|
+
result[0] = p0.x;
|
|
347
|
+
result[1] = p0.y;
|
|
348
|
+
result[2] = p0.z;
|
|
349
|
+
return result;
|
|
350
|
+
}
|
|
351
|
+
|
|
326
352
|
const n = rhumb.surfaceDistance / minDistance;
|
|
327
353
|
const countDivide = Math.max(0, Math.ceil(CesiumMath.log2(n)));
|
|
328
354
|
const numVertices = Math.pow(2, countDivide);
|
|
329
355
|
const distanceBetweenVertices = rhumb.surfaceDistance / numVertices;
|
|
330
356
|
|
|
331
|
-
if (!defined(result)) {
|
|
332
|
-
result = [];
|
|
333
|
-
}
|
|
334
|
-
|
|
335
357
|
const positions = result;
|
|
336
358
|
positions.length = numVertices * 3;
|
|
337
359
|
|
package/Source/Core/Spherical.js
CHANGED
|
@@ -107,8 +107,8 @@ Spherical.normalize = function (spherical, result) {
|
|
|
107
107
|
/**
|
|
108
108
|
* Returns true if the first spherical is equal to the second spherical, false otherwise.
|
|
109
109
|
*
|
|
110
|
-
* @param {Spherical} left The first Spherical to be compared.
|
|
111
|
-
* @param {Spherical} right The second Spherical to be compared.
|
|
110
|
+
* @param {Spherical} [left] The first Spherical to be compared.
|
|
111
|
+
* @param {Spherical} [right] The second Spherical to be compared.
|
|
112
112
|
* @returns {boolean} true if the first spherical is equal to the second spherical, false otherwise.
|
|
113
113
|
*/
|
|
114
114
|
Spherical.equals = function (left, right) {
|
|
@@ -145,7 +145,7 @@ Spherical.equalsEpsilon = function (left, right, epsilon) {
|
|
|
145
145
|
/**
|
|
146
146
|
* Returns true if this spherical is equal to the provided spherical, false otherwise.
|
|
147
147
|
*
|
|
148
|
-
* @param {Spherical} other The Spherical to be compared.
|
|
148
|
+
* @param {Spherical} [other] The Spherical to be compared.
|
|
149
149
|
* @returns {boolean} true if this spherical is equal to the provided spherical, false otherwise.
|
|
150
150
|
*/
|
|
151
151
|
Spherical.prototype.equals = function (other) {
|