deeptwins-cesium-engine 0.0.38 → 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.
- package/Build/Workers/chunk-22YARAUJ.js +629 -0
- package/Build/Workers/chunk-2HVM4MOI.js +220 -0
- package/Build/Workers/chunk-2PWEYBYR.js +75 -0
- package/Build/Workers/chunk-2ZI2BRKI.js +37 -0
- package/Build/Workers/chunk-3Q6HPHTH.js +684 -0
- package/Build/Workers/chunk-4LE3SGQH.js +634 -0
- package/Build/Workers/chunk-5IBSBFAA.js +287 -0
- package/Build/Workers/chunk-5ZELPLWF.js +58 -0
- package/Build/Workers/chunk-73EDFMPB.js +1073 -0
- package/Build/Workers/chunk-ALIDMMNJ.js +10357 -0
- package/Build/Workers/chunk-AXTXYHVG.js +59 -0
- package/Build/Workers/chunk-B3DSUDQQ.js +101 -0
- package/Build/Workers/chunk-B7R4KLQV.js +959 -0
- package/Build/Workers/chunk-CET7MMFD.js +1055 -0
- package/Build/Workers/chunk-DGWWFN6L.js +102 -0
- package/Build/Workers/chunk-DPZEBUVY.js +122 -0
- package/Build/Workers/chunk-EKUYACAZ.js +163 -0
- package/Build/Workers/chunk-ETQJFLBY.js +435 -0
- package/Build/Workers/chunk-HDJDQBU6.js +758 -0
- package/Build/Workers/chunk-HOO3H5M5.js +171 -0
- package/Build/Workers/chunk-JRFRSSGD.js +1800 -0
- package/Build/Workers/chunk-KMDXAR34.js +1481 -0
- package/Build/Workers/chunk-KZDZFG2L.js +157 -0
- package/Build/Workers/chunk-LDXSEGOX.js +2857 -0
- package/Build/Workers/chunk-LYJFG66W.js +196 -0
- package/Build/Workers/chunk-N2UJHZ4W.js +368 -0
- package/Build/Workers/chunk-NZU4VBYI.js +834 -0
- package/Build/Workers/chunk-OY2Z6SFD.js +100 -0
- package/Build/Workers/chunk-PA4JZFFM.js +353 -0
- package/Build/Workers/chunk-QUJ6BNQF.js +39 -0
- package/Build/Workers/chunk-ROPEB47Y.js +300 -0
- package/Build/Workers/chunk-S3RIIJID.js +781 -0
- package/Build/Workers/chunk-SPS2I45W.js +73 -0
- package/Build/Workers/chunk-TBJBVKDE.js +262 -0
- package/Build/Workers/chunk-TJAONFQM.js +44 -0
- package/Build/Workers/chunk-TJNJ6CLS.js +239 -0
- package/Build/Workers/chunk-U4SUBL6L.js +390 -0
- package/Build/Workers/chunk-U6RITS73.js +456 -0
- package/Build/Workers/chunk-UHPBZJQF.js +2717 -0
- package/Build/Workers/chunk-UHS2YM44.js +115 -0
- package/Build/Workers/chunk-UN3RMNI2.js +500 -0
- package/Build/Workers/chunk-UYS2HZVM.js +421 -0
- package/Build/Workers/chunk-VSEDVQN7.js +305 -0
- package/Build/Workers/chunk-W7KOAHR2.js +691 -0
- package/Build/Workers/chunk-WGHS4HMU.js +55 -0
- package/Build/Workers/chunk-XV4SYFDP.js +138 -0
- package/Build/Workers/chunk-XX7RETEX.js +1258 -0
- package/Build/Workers/chunk-XYMJZUFF.js +476 -0
- package/Build/Workers/chunk-YCU6WHSN.js +963 -0
- package/Build/Workers/chunk-YWEX5QFW.js +398 -0
- package/Build/Workers/chunk-Z2WOKKJM.js +511 -0
- package/Build/Workers/chunk-ZYUOPFWQ.js +139 -0
- 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 +7 -7
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -20
- package/Source/Scene/Billboard.js +22 -0
- package/Source/Scene/BillboardTexture.js +191 -14
- package/index.js +62 -62
- package/package.json +1 -1
|
@@ -0,0 +1,220 @@
|
|
|
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
|
+
GeographicProjection_default,
|
|
28
|
+
Intersect_default
|
|
29
|
+
} from "./chunk-YCU6WHSN.js";
|
|
30
|
+
import {
|
|
31
|
+
Rectangle_default
|
|
32
|
+
} from "./chunk-ALIDMMNJ.js";
|
|
33
|
+
import {
|
|
34
|
+
Cartesian2_default,
|
|
35
|
+
Cartographic_default,
|
|
36
|
+
Ellipsoid_default
|
|
37
|
+
} from "./chunk-LDXSEGOX.js";
|
|
38
|
+
import {
|
|
39
|
+
defaultValue_default
|
|
40
|
+
} from "./chunk-QUJ6BNQF.js";
|
|
41
|
+
import {
|
|
42
|
+
Check_default
|
|
43
|
+
} from "./chunk-EKUYACAZ.js";
|
|
44
|
+
import {
|
|
45
|
+
defined_default
|
|
46
|
+
} from "./chunk-2PWEYBYR.js";
|
|
47
|
+
|
|
48
|
+
// packages/engine/Source/Core/BoundingRectangle.js
|
|
49
|
+
function BoundingRectangle(x, y, width, height) {
|
|
50
|
+
this.x = defaultValue_default(x, 0);
|
|
51
|
+
this.y = defaultValue_default(y, 0);
|
|
52
|
+
this.width = defaultValue_default(width, 0);
|
|
53
|
+
this.height = defaultValue_default(height, 0);
|
|
54
|
+
}
|
|
55
|
+
BoundingRectangle.packedLength = 4;
|
|
56
|
+
BoundingRectangle.pack = function(value, array, startingIndex) {
|
|
57
|
+
Check_default.typeOf.object("value", value);
|
|
58
|
+
Check_default.defined("array", array);
|
|
59
|
+
startingIndex = defaultValue_default(startingIndex, 0);
|
|
60
|
+
array[startingIndex++] = value.x;
|
|
61
|
+
array[startingIndex++] = value.y;
|
|
62
|
+
array[startingIndex++] = value.width;
|
|
63
|
+
array[startingIndex] = value.height;
|
|
64
|
+
return array;
|
|
65
|
+
};
|
|
66
|
+
BoundingRectangle.unpack = function(array, startingIndex, result) {
|
|
67
|
+
Check_default.defined("array", array);
|
|
68
|
+
startingIndex = defaultValue_default(startingIndex, 0);
|
|
69
|
+
if (!defined_default(result)) {
|
|
70
|
+
result = new BoundingRectangle();
|
|
71
|
+
}
|
|
72
|
+
result.x = array[startingIndex++];
|
|
73
|
+
result.y = array[startingIndex++];
|
|
74
|
+
result.width = array[startingIndex++];
|
|
75
|
+
result.height = array[startingIndex];
|
|
76
|
+
return result;
|
|
77
|
+
};
|
|
78
|
+
BoundingRectangle.fromPoints = function(positions, result) {
|
|
79
|
+
if (!defined_default(result)) {
|
|
80
|
+
result = new BoundingRectangle();
|
|
81
|
+
}
|
|
82
|
+
if (!defined_default(positions) || positions.length === 0) {
|
|
83
|
+
result.x = 0;
|
|
84
|
+
result.y = 0;
|
|
85
|
+
result.width = 0;
|
|
86
|
+
result.height = 0;
|
|
87
|
+
return result;
|
|
88
|
+
}
|
|
89
|
+
const length = positions.length;
|
|
90
|
+
let minimumX = positions[0].x;
|
|
91
|
+
let minimumY = positions[0].y;
|
|
92
|
+
let maximumX = positions[0].x;
|
|
93
|
+
let maximumY = positions[0].y;
|
|
94
|
+
for (let i = 1; i < length; i++) {
|
|
95
|
+
const p = positions[i];
|
|
96
|
+
const x = p.x;
|
|
97
|
+
const y = p.y;
|
|
98
|
+
minimumX = Math.min(x, minimumX);
|
|
99
|
+
maximumX = Math.max(x, maximumX);
|
|
100
|
+
minimumY = Math.min(y, minimumY);
|
|
101
|
+
maximumY = Math.max(y, maximumY);
|
|
102
|
+
}
|
|
103
|
+
result.x = minimumX;
|
|
104
|
+
result.y = minimumY;
|
|
105
|
+
result.width = maximumX - minimumX;
|
|
106
|
+
result.height = maximumY - minimumY;
|
|
107
|
+
return result;
|
|
108
|
+
};
|
|
109
|
+
var defaultProjection = new GeographicProjection_default();
|
|
110
|
+
var fromRectangleLowerLeft = new Cartographic_default();
|
|
111
|
+
var fromRectangleUpperRight = new Cartographic_default();
|
|
112
|
+
BoundingRectangle.fromRectangle = function(rectangle, projection, result) {
|
|
113
|
+
if (!defined_default(result)) {
|
|
114
|
+
result = new BoundingRectangle();
|
|
115
|
+
}
|
|
116
|
+
if (!defined_default(rectangle)) {
|
|
117
|
+
result.x = 0;
|
|
118
|
+
result.y = 0;
|
|
119
|
+
result.width = 0;
|
|
120
|
+
result.height = 0;
|
|
121
|
+
return result;
|
|
122
|
+
}
|
|
123
|
+
defaultProjection._ellipsoid = Ellipsoid_default.default;
|
|
124
|
+
projection = defaultValue_default(projection, defaultProjection);
|
|
125
|
+
const lowerLeft = projection.project(
|
|
126
|
+
Rectangle_default.southwest(rectangle, fromRectangleLowerLeft)
|
|
127
|
+
);
|
|
128
|
+
const upperRight = projection.project(
|
|
129
|
+
Rectangle_default.northeast(rectangle, fromRectangleUpperRight)
|
|
130
|
+
);
|
|
131
|
+
Cartesian2_default.subtract(upperRight, lowerLeft, upperRight);
|
|
132
|
+
result.x = lowerLeft.x;
|
|
133
|
+
result.y = lowerLeft.y;
|
|
134
|
+
result.width = upperRight.x;
|
|
135
|
+
result.height = upperRight.y;
|
|
136
|
+
return result;
|
|
137
|
+
};
|
|
138
|
+
BoundingRectangle.clone = function(rectangle, result) {
|
|
139
|
+
if (!defined_default(rectangle)) {
|
|
140
|
+
return void 0;
|
|
141
|
+
}
|
|
142
|
+
if (!defined_default(result)) {
|
|
143
|
+
return new BoundingRectangle(
|
|
144
|
+
rectangle.x,
|
|
145
|
+
rectangle.y,
|
|
146
|
+
rectangle.width,
|
|
147
|
+
rectangle.height
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
result.x = rectangle.x;
|
|
151
|
+
result.y = rectangle.y;
|
|
152
|
+
result.width = rectangle.width;
|
|
153
|
+
result.height = rectangle.height;
|
|
154
|
+
return result;
|
|
155
|
+
};
|
|
156
|
+
BoundingRectangle.union = function(left, right, result) {
|
|
157
|
+
Check_default.typeOf.object("left", left);
|
|
158
|
+
Check_default.typeOf.object("right", right);
|
|
159
|
+
if (!defined_default(result)) {
|
|
160
|
+
result = new BoundingRectangle();
|
|
161
|
+
}
|
|
162
|
+
const lowerLeftX = Math.min(left.x, right.x);
|
|
163
|
+
const lowerLeftY = Math.min(left.y, right.y);
|
|
164
|
+
const upperRightX = Math.max(left.x + left.width, right.x + right.width);
|
|
165
|
+
const upperRightY = Math.max(left.y + left.height, right.y + right.height);
|
|
166
|
+
result.x = lowerLeftX;
|
|
167
|
+
result.y = lowerLeftY;
|
|
168
|
+
result.width = upperRightX - lowerLeftX;
|
|
169
|
+
result.height = upperRightY - lowerLeftY;
|
|
170
|
+
return result;
|
|
171
|
+
};
|
|
172
|
+
BoundingRectangle.expand = function(rectangle, point, result) {
|
|
173
|
+
Check_default.typeOf.object("rectangle", rectangle);
|
|
174
|
+
Check_default.typeOf.object("point", point);
|
|
175
|
+
result = BoundingRectangle.clone(rectangle, result);
|
|
176
|
+
const width = point.x - result.x;
|
|
177
|
+
const height = point.y - result.y;
|
|
178
|
+
if (width > result.width) {
|
|
179
|
+
result.width = width;
|
|
180
|
+
} else if (width < 0) {
|
|
181
|
+
result.width -= width;
|
|
182
|
+
result.x = point.x;
|
|
183
|
+
}
|
|
184
|
+
if (height > result.height) {
|
|
185
|
+
result.height = height;
|
|
186
|
+
} else if (height < 0) {
|
|
187
|
+
result.height -= height;
|
|
188
|
+
result.y = point.y;
|
|
189
|
+
}
|
|
190
|
+
return result;
|
|
191
|
+
};
|
|
192
|
+
BoundingRectangle.intersect = function(left, right) {
|
|
193
|
+
Check_default.typeOf.object("left", left);
|
|
194
|
+
Check_default.typeOf.object("right", right);
|
|
195
|
+
const leftX = left.x;
|
|
196
|
+
const leftY = left.y;
|
|
197
|
+
const rightX = right.x;
|
|
198
|
+
const rightY = right.y;
|
|
199
|
+
if (!(leftX > rightX + right.width || leftX + left.width < rightX || leftY + left.height < rightY || leftY > rightY + right.height)) {
|
|
200
|
+
return Intersect_default.INTERSECTING;
|
|
201
|
+
}
|
|
202
|
+
return Intersect_default.OUTSIDE;
|
|
203
|
+
};
|
|
204
|
+
BoundingRectangle.equals = function(left, right) {
|
|
205
|
+
return left === right || defined_default(left) && defined_default(right) && left.x === right.x && left.y === right.y && left.width === right.width && left.height === right.height;
|
|
206
|
+
};
|
|
207
|
+
BoundingRectangle.prototype.clone = function(result) {
|
|
208
|
+
return BoundingRectangle.clone(this, result);
|
|
209
|
+
};
|
|
210
|
+
BoundingRectangle.prototype.intersect = function(right) {
|
|
211
|
+
return BoundingRectangle.intersect(this, right);
|
|
212
|
+
};
|
|
213
|
+
BoundingRectangle.prototype.equals = function(right) {
|
|
214
|
+
return BoundingRectangle.equals(this, right);
|
|
215
|
+
};
|
|
216
|
+
var BoundingRectangle_default = BoundingRectangle;
|
|
217
|
+
|
|
218
|
+
export {
|
|
219
|
+
BoundingRectangle_default
|
|
220
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
var __create = Object.create;
|
|
27
|
+
var __defProp = Object.defineProperty;
|
|
28
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
29
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
30
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
31
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
32
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
33
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
34
|
+
}) : x)(function(x) {
|
|
35
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
36
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
37
|
+
});
|
|
38
|
+
var __glob = (map) => (path) => {
|
|
39
|
+
var fn = map[path];
|
|
40
|
+
if (fn) return fn();
|
|
41
|
+
throw new Error("Module not found in bundle: " + path);
|
|
42
|
+
};
|
|
43
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
44
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
45
|
+
};
|
|
46
|
+
var __copyProps = (to, from, except, desc) => {
|
|
47
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
48
|
+
for (let key of __getOwnPropNames(from))
|
|
49
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
50
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
51
|
+
}
|
|
52
|
+
return to;
|
|
53
|
+
};
|
|
54
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
55
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
56
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
57
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
58
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
59
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
60
|
+
mod
|
|
61
|
+
));
|
|
62
|
+
|
|
63
|
+
// packages/engine/Source/Core/defined.js
|
|
64
|
+
function defined(value) {
|
|
65
|
+
return value !== void 0 && value !== null;
|
|
66
|
+
}
|
|
67
|
+
var defined_default = defined;
|
|
68
|
+
|
|
69
|
+
export {
|
|
70
|
+
__require,
|
|
71
|
+
__glob,
|
|
72
|
+
__commonJS,
|
|
73
|
+
__toESM,
|
|
74
|
+
defined_default
|
|
75
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
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/GeometryOffsetAttribute.js
|
|
28
|
+
var GeometryOffsetAttribute = {
|
|
29
|
+
NONE: 0,
|
|
30
|
+
TOP: 1,
|
|
31
|
+
ALL: 2
|
|
32
|
+
};
|
|
33
|
+
var GeometryOffsetAttribute_default = Object.freeze(GeometryOffsetAttribute);
|
|
34
|
+
|
|
35
|
+
export {
|
|
36
|
+
GeometryOffsetAttribute_default
|
|
37
|
+
};
|