deeptwins-cesium-engine 0.0.39 → 0.0.40

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.
Files changed (104) hide show
  1. package/Build/Workers/chunk-22YARAUJ.js +629 -0
  2. package/Build/Workers/chunk-2HVM4MOI.js +220 -0
  3. package/Build/Workers/chunk-2PWEYBYR.js +75 -0
  4. package/Build/Workers/chunk-2ZI2BRKI.js +37 -0
  5. package/Build/Workers/chunk-3Q6HPHTH.js +684 -0
  6. package/Build/Workers/chunk-4LE3SGQH.js +634 -0
  7. package/Build/Workers/chunk-5IBSBFAA.js +287 -0
  8. package/Build/Workers/chunk-5ZELPLWF.js +58 -0
  9. package/Build/Workers/chunk-73EDFMPB.js +1073 -0
  10. package/Build/Workers/chunk-ALIDMMNJ.js +10357 -0
  11. package/Build/Workers/chunk-AXTXYHVG.js +59 -0
  12. package/Build/Workers/chunk-B3DSUDQQ.js +101 -0
  13. package/Build/Workers/chunk-B7R4KLQV.js +959 -0
  14. package/Build/Workers/chunk-CET7MMFD.js +1055 -0
  15. package/Build/Workers/chunk-DGWWFN6L.js +102 -0
  16. package/Build/Workers/chunk-DPZEBUVY.js +122 -0
  17. package/Build/Workers/chunk-EKUYACAZ.js +163 -0
  18. package/Build/Workers/chunk-ETQJFLBY.js +435 -0
  19. package/Build/Workers/chunk-HDJDQBU6.js +758 -0
  20. package/Build/Workers/chunk-HOO3H5M5.js +171 -0
  21. package/Build/Workers/chunk-JRFRSSGD.js +1800 -0
  22. package/Build/Workers/chunk-KMDXAR34.js +1481 -0
  23. package/Build/Workers/chunk-KZDZFG2L.js +157 -0
  24. package/Build/Workers/chunk-LDXSEGOX.js +2857 -0
  25. package/Build/Workers/chunk-LYJFG66W.js +196 -0
  26. package/Build/Workers/chunk-N2UJHZ4W.js +368 -0
  27. package/Build/Workers/chunk-NZU4VBYI.js +834 -0
  28. package/Build/Workers/chunk-OY2Z6SFD.js +100 -0
  29. package/Build/Workers/chunk-PA4JZFFM.js +353 -0
  30. package/Build/Workers/chunk-QUJ6BNQF.js +39 -0
  31. package/Build/Workers/chunk-ROPEB47Y.js +300 -0
  32. package/Build/Workers/chunk-S3RIIJID.js +781 -0
  33. package/Build/Workers/chunk-SPS2I45W.js +73 -0
  34. package/Build/Workers/chunk-TBJBVKDE.js +262 -0
  35. package/Build/Workers/chunk-TJAONFQM.js +44 -0
  36. package/Build/Workers/chunk-TJNJ6CLS.js +239 -0
  37. package/Build/Workers/chunk-U4SUBL6L.js +390 -0
  38. package/Build/Workers/chunk-U6RITS73.js +456 -0
  39. package/Build/Workers/chunk-UHPBZJQF.js +2717 -0
  40. package/Build/Workers/chunk-UHS2YM44.js +115 -0
  41. package/Build/Workers/chunk-UN3RMNI2.js +500 -0
  42. package/Build/Workers/chunk-UYS2HZVM.js +421 -0
  43. package/Build/Workers/chunk-VSEDVQN7.js +305 -0
  44. package/Build/Workers/chunk-W7KOAHR2.js +691 -0
  45. package/Build/Workers/chunk-WGHS4HMU.js +55 -0
  46. package/Build/Workers/chunk-XV4SYFDP.js +138 -0
  47. package/Build/Workers/chunk-XX7RETEX.js +1258 -0
  48. package/Build/Workers/chunk-XYMJZUFF.js +476 -0
  49. package/Build/Workers/chunk-YCU6WHSN.js +963 -0
  50. package/Build/Workers/chunk-YWEX5QFW.js +398 -0
  51. package/Build/Workers/chunk-Z2WOKKJM.js +511 -0
  52. package/Build/Workers/chunk-ZYUOPFWQ.js +139 -0
  53. package/Build/Workers/combineGeometry.js +22 -22
  54. package/Build/Workers/createBoxGeometry.js +16 -16
  55. package/Build/Workers/createBoxOutlineGeometry.js +14 -14
  56. package/Build/Workers/createCircleGeometry.js +24 -24
  57. package/Build/Workers/createCircleOutlineGeometry.js +17 -17
  58. package/Build/Workers/createCoplanarPolygonGeometry.js +31 -31
  59. package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
  60. package/Build/Workers/createCorridorGeometry.js +27 -27
  61. package/Build/Workers/createCorridorOutlineGeometry.js +26 -26
  62. package/Build/Workers/createCylinderGeometry.js +18 -18
  63. package/Build/Workers/createCylinderOutlineGeometry.js +16 -16
  64. package/Build/Workers/createEllipseGeometry.js +24 -24
  65. package/Build/Workers/createEllipseOutlineGeometry.js +17 -17
  66. package/Build/Workers/createEllipsoidGeometry.js +17 -17
  67. package/Build/Workers/createEllipsoidOutlineGeometry.js +16 -16
  68. package/Build/Workers/createFrustumGeometry.js +16 -16
  69. package/Build/Workers/createFrustumOutlineGeometry.js +16 -16
  70. package/Build/Workers/createGeometry.js +22 -22
  71. package/Build/Workers/createGroundPolylineGeometry.js +20 -20
  72. package/Build/Workers/createPlaneGeometry.js +14 -14
  73. package/Build/Workers/createPlaneOutlineGeometry.js +13 -13
  74. package/Build/Workers/createPolygonGeometry.js +30 -30
  75. package/Build/Workers/createPolygonOutlineGeometry.js +28 -28
  76. package/Build/Workers/createPolylineGeometry.js +23 -23
  77. package/Build/Workers/createPolylineVolumeGeometry.js +29 -29
  78. package/Build/Workers/createPolylineVolumeOutlineGeometry.js +25 -25
  79. package/Build/Workers/createRectangleGeometry.js +25 -25
  80. package/Build/Workers/createRectangleOutlineGeometry.js +18 -18
  81. package/Build/Workers/createSimplePolylineGeometry.js +21 -21
  82. package/Build/Workers/createSphereGeometry.js +17 -17
  83. package/Build/Workers/createSphereOutlineGeometry.js +16 -16
  84. package/Build/Workers/createTaskProcessorWorker.js +3 -3
  85. package/Build/Workers/createVectorTileClampedPolylines.js +13 -13
  86. package/Build/Workers/createVectorTileGeometries.js +22 -22
  87. package/Build/Workers/createVectorTilePoints.js +12 -12
  88. package/Build/Workers/createVectorTilePolygons.js +20 -20
  89. package/Build/Workers/createVectorTilePolylines.js +13 -13
  90. package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
  91. package/Build/Workers/createVerticesFromHeightmap.js +20 -20
  92. package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
  93. package/Build/Workers/createWallGeometry.js +22 -22
  94. package/Build/Workers/createWallOutlineGeometry.js +21 -21
  95. package/Build/Workers/decodeDraco.js +11 -11
  96. package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
  97. package/Build/Workers/decodeI3S.js +10 -10
  98. package/Build/Workers/transcodeKTX2.js +7 -7
  99. package/Build/Workers/transferTypedArrayTest.js +1 -1
  100. package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -20
  101. package/Source/Scene/Billboard.js +22 -0
  102. package/Source/Scene/BillboardTexture.js +92 -2
  103. package/index.js +97 -97
  104. package/package.json +1 -1
@@ -0,0 +1,55 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 0.0.39
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
25
+
26
+
27
+ // packages/engine/Source/Core/ArcType.js
28
+ var ArcType = {
29
+ /**
30
+ * Straight line that does not conform to the surface of the ellipsoid.
31
+ *
32
+ * @type {number}
33
+ * @constant
34
+ */
35
+ NONE: 0,
36
+ /**
37
+ * Follow geodesic path.
38
+ *
39
+ * @type {number}
40
+ * @constant
41
+ */
42
+ GEODESIC: 1,
43
+ /**
44
+ * Follow rhumb or loxodrome path.
45
+ *
46
+ * @type {number}
47
+ * @constant
48
+ */
49
+ RHUMB: 2
50
+ };
51
+ var ArcType_default = Object.freeze(ArcType);
52
+
53
+ export {
54
+ ArcType_default
55
+ };
@@ -0,0 +1,138 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 0.0.39
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
25
+
26
+ import {
27
+ defaultValue_default
28
+ } from "./chunk-QUJ6BNQF.js";
29
+ import {
30
+ DeveloperError_default
31
+ } from "./chunk-EKUYACAZ.js";
32
+ import {
33
+ defined_default
34
+ } from "./chunk-2PWEYBYR.js";
35
+
36
+ // packages/engine/Source/Core/VertexFormat.js
37
+ function VertexFormat(options) {
38
+ options = defaultValue_default(options, defaultValue_default.EMPTY_OBJECT);
39
+ this.position = defaultValue_default(options.position, false);
40
+ this.normal = defaultValue_default(options.normal, false);
41
+ this.st = defaultValue_default(options.st, false);
42
+ this.bitangent = defaultValue_default(options.bitangent, false);
43
+ this.tangent = defaultValue_default(options.tangent, false);
44
+ this.color = defaultValue_default(options.color, false);
45
+ }
46
+ VertexFormat.POSITION_ONLY = Object.freeze(
47
+ new VertexFormat({
48
+ position: true
49
+ })
50
+ );
51
+ VertexFormat.POSITION_AND_NORMAL = Object.freeze(
52
+ new VertexFormat({
53
+ position: true,
54
+ normal: true
55
+ })
56
+ );
57
+ VertexFormat.POSITION_NORMAL_AND_ST = Object.freeze(
58
+ new VertexFormat({
59
+ position: true,
60
+ normal: true,
61
+ st: true
62
+ })
63
+ );
64
+ VertexFormat.POSITION_AND_ST = Object.freeze(
65
+ new VertexFormat({
66
+ position: true,
67
+ st: true
68
+ })
69
+ );
70
+ VertexFormat.POSITION_AND_COLOR = Object.freeze(
71
+ new VertexFormat({
72
+ position: true,
73
+ color: true
74
+ })
75
+ );
76
+ VertexFormat.ALL = Object.freeze(
77
+ new VertexFormat({
78
+ position: true,
79
+ normal: true,
80
+ st: true,
81
+ tangent: true,
82
+ bitangent: true
83
+ })
84
+ );
85
+ VertexFormat.DEFAULT = VertexFormat.POSITION_NORMAL_AND_ST;
86
+ VertexFormat.packedLength = 6;
87
+ VertexFormat.pack = function(value, array, startingIndex) {
88
+ if (!defined_default(value)) {
89
+ throw new DeveloperError_default("value is required");
90
+ }
91
+ if (!defined_default(array)) {
92
+ throw new DeveloperError_default("array is required");
93
+ }
94
+ startingIndex = defaultValue_default(startingIndex, 0);
95
+ array[startingIndex++] = value.position ? 1 : 0;
96
+ array[startingIndex++] = value.normal ? 1 : 0;
97
+ array[startingIndex++] = value.st ? 1 : 0;
98
+ array[startingIndex++] = value.tangent ? 1 : 0;
99
+ array[startingIndex++] = value.bitangent ? 1 : 0;
100
+ array[startingIndex] = value.color ? 1 : 0;
101
+ return array;
102
+ };
103
+ VertexFormat.unpack = function(array, startingIndex, result) {
104
+ if (!defined_default(array)) {
105
+ throw new DeveloperError_default("array is required");
106
+ }
107
+ startingIndex = defaultValue_default(startingIndex, 0);
108
+ if (!defined_default(result)) {
109
+ result = new VertexFormat();
110
+ }
111
+ result.position = array[startingIndex++] === 1;
112
+ result.normal = array[startingIndex++] === 1;
113
+ result.st = array[startingIndex++] === 1;
114
+ result.tangent = array[startingIndex++] === 1;
115
+ result.bitangent = array[startingIndex++] === 1;
116
+ result.color = array[startingIndex] === 1;
117
+ return result;
118
+ };
119
+ VertexFormat.clone = function(vertexFormat, result) {
120
+ if (!defined_default(vertexFormat)) {
121
+ return void 0;
122
+ }
123
+ if (!defined_default(result)) {
124
+ result = new VertexFormat();
125
+ }
126
+ result.position = vertexFormat.position;
127
+ result.normal = vertexFormat.normal;
128
+ result.st = vertexFormat.st;
129
+ result.tangent = vertexFormat.tangent;
130
+ result.bitangent = vertexFormat.bitangent;
131
+ result.color = vertexFormat.color;
132
+ return result;
133
+ };
134
+ var VertexFormat_default = VertexFormat;
135
+
136
+ export {
137
+ VertexFormat_default
138
+ };