@hztxi/cesium-engine 25.0.4 → 25.0.6
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-247MLVK2.js +124 -0
- package/Build/Workers/chunk-26I7TIAE.js +58 -0
- package/Build/Workers/chunk-26OYTC24.js +38 -0
- package/Build/Workers/chunk-2IMOZG7R.js +973 -0
- package/Build/Workers/chunk-2L6JGSYJ.js +57 -0
- package/Build/Workers/chunk-32N2SB76.js +56 -0
- package/Build/Workers/chunk-37WL527K.js +1287 -0
- package/Build/Workers/chunk-3IGH46TC.js +1054 -0
- package/Build/Workers/chunk-47BSFGJC.js +837 -0
- package/Build/Workers/chunk-4J7PL5AM.js +454 -0
- package/Build/Workers/chunk-4UMO63VY.js +76 -0
- package/Build/Workers/chunk-5YI3TQQC.js +778 -0
- package/Build/Workers/chunk-AEZQ2UWS.js +288 -0
- package/Build/Workers/chunk-AXE2ZIEG.js +219 -0
- package/Build/Workers/chunk-BDR7GL3E.js +1067 -0
- package/Build/Workers/chunk-C342XITR.js +44 -0
- package/Build/Workers/chunk-CWAUXQRF.js +754 -0
- package/Build/Workers/chunk-E5F7LDEP.js +3201 -0
- package/Build/Workers/chunk-FAKYMBUA.js +1046 -0
- package/Build/Workers/chunk-FSK4OZOO.js +352 -0
- package/Build/Workers/chunk-FSLRYNZ6.js +682 -0
- package/Build/Workers/chunk-GMDOGAXK.js +2719 -0
- package/Build/Workers/chunk-GRAFCIPA.js +455 -0
- package/Build/Workers/chunk-HEY4IOS3.js +140 -0
- package/Build/Workers/chunk-HRWFO57T.js +301 -0
- package/Build/Workers/chunk-HTCLVUBZ.js +82 -0
- package/Build/Workers/chunk-I2Q7XDRA.js +630 -0
- package/Build/Workers/chunk-ILPH3NF7.js +3794 -0
- package/Build/Workers/chunk-JZUUODN6.js +97 -0
- package/Build/Workers/chunk-KWVB54J6.js +241 -0
- package/Build/Workers/chunk-M3B3ZUU2.js +476 -0
- package/Build/Workers/chunk-MKR6YCMG.js +497 -0
- package/Build/Workers/chunk-MROMS2RL.js +162 -0
- package/Build/Workers/chunk-MUNAUSK7.js +280 -0
- package/Build/Workers/chunk-NHU5JEPP.js +1344 -0
- package/Build/Workers/chunk-OODXPB45.js +73 -0
- package/Build/Workers/chunk-OXZ5J3JW.js +368 -0
- package/Build/Workers/chunk-QBSWSTHY.js +257 -0
- package/Build/Workers/chunk-QDJYG7QL.js +352 -0
- package/Build/Workers/chunk-RX3U2BBW.js +1483 -0
- package/Build/Workers/chunk-S3XHL7GO.js +1992 -0
- package/Build/Workers/chunk-SBIC4OGS.js +171 -0
- package/Build/Workers/chunk-T4CYNROE.js +102 -0
- package/Build/Workers/chunk-T5VLPB4H.js +414 -0
- package/Build/Workers/chunk-TX763OWB.js +387 -0
- package/Build/Workers/chunk-UTAWMCSE.js +163 -0
- package/Build/Workers/chunk-VETQOADR.js +2342 -0
- package/Build/Workers/chunk-VXRWOM3T.js +101 -0
- package/Build/Workers/chunk-WVVFCMYF.js +147 -0
- package/Build/Workers/chunk-XAVNBZQ6.js +56 -0
- package/Build/Workers/chunk-XDSDR62Y.js +1800 -0
- package/Build/Workers/chunk-XDZCVNIZ.js +198 -0
- package/Build/Workers/chunk-XNLCW2OI.js +138 -0
- package/Build/Workers/chunk-XNQ2BTJD.js +693 -0
- package/Build/Workers/chunk-XZYBDSFP.js +305 -0
- package/Build/Workers/chunk-YDYN3RPI.js +398 -0
- package/Build/Workers/chunk-YMMEQBEW.js +511 -0
- package/Build/Workers/chunk-YQFOQAXD.js +9230 -0
- package/Build/Workers/combineGeometry.js +24 -24
- package/Build/Workers/createBoxGeometry.js +18 -18
- package/Build/Workers/createBoxOutlineGeometry.js +16 -16
- package/Build/Workers/createCircleGeometry.js +26 -26
- package/Build/Workers/createCircleOutlineGeometry.js +19 -19
- package/Build/Workers/createCoplanarPolygonGeometry.js +33 -33
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +31 -31
- package/Build/Workers/createCorridorGeometry.js +29 -29
- package/Build/Workers/createCorridorOutlineGeometry.js +28 -28
- package/Build/Workers/createCylinderGeometry.js +20 -20
- package/Build/Workers/createCylinderOutlineGeometry.js +18 -18
- package/Build/Workers/createEllipseGeometry.js +26 -26
- package/Build/Workers/createEllipseOutlineGeometry.js +19 -19
- package/Build/Workers/createEllipsoidGeometry.js +19 -19
- package/Build/Workers/createEllipsoidOutlineGeometry.js +18 -18
- package/Build/Workers/createFrustumGeometry.js +18 -18
- package/Build/Workers/createFrustumOutlineGeometry.js +18 -18
- package/Build/Workers/createGeometry.js +24 -24
- package/Build/Workers/createGroundPolylineGeometry.js +23 -23
- package/Build/Workers/createPlaneGeometry.js +16 -16
- package/Build/Workers/createPlaneOutlineGeometry.js +15 -15
- package/Build/Workers/createPolygonGeometry.js +32 -32
- package/Build/Workers/createPolygonOutlineGeometry.js +30 -30
- package/Build/Workers/createPolylineGeometry.js +25 -25
- package/Build/Workers/createPolylineVolumeGeometry.js +31 -31
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +27 -27
- package/Build/Workers/createRectangleGeometry.js +27 -27
- package/Build/Workers/createRectangleOutlineGeometry.js +20 -20
- package/Build/Workers/createSimplePolylineGeometry.js +23 -23
- package/Build/Workers/createSphereGeometry.js +19 -19
- package/Build/Workers/createSphereOutlineGeometry.js +18 -18
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +14 -14
- package/Build/Workers/createVectorTileGeometries.js +24 -24
- package/Build/Workers/createVectorTilePoints.js +13 -13
- package/Build/Workers/createVectorTilePolygons.js +22 -22
- package/Build/Workers/createVectorTilePolylines.js +14 -14
- package/Build/Workers/createVerticesFromCesium3DTilesTerrain.js +26 -26
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +23 -23
- package/Build/Workers/createVerticesFromHeightmap.js +23 -23
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +21 -21
- package/Build/Workers/createWallGeometry.js +24 -24
- package/Build/Workers/createWallOutlineGeometry.js +23 -23
- package/Build/Workers/decodeDraco.js +10 -10
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/gaussianSplatSorter.js +4 -4
- package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
- package/Build/Workers/incrementallyBuildTerrainPicker.js +10 -10
- package/Build/Workers/transcodeKTX2.js +6 -6
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +23 -23
- package/Build/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +26 -26
- package/Source/Scene/ClassificationPrimitive.js +63 -3
- package/Source/Scene/PolylineCollection.js +4 -2
- package/Source/Shaders/PolylineShadowVolumeMorphVS.glsl +14 -1
- package/Source/Shaders/PolylineShadowVolumeMorphVS.js +14 -1
- package/Source/Shaders/PolylineShadowVolumeVS.glsl +7 -0
- package/Source/Shaders/PolylineShadowVolumeVS.js +7 -0
- package/Source/Shaders/PolylineVS.glsl +16 -6
- package/Source/Shaders/PolylineVS.js +16 -6
- package/Source/ThirdParty/zip-module.wasm +0 -0
- package/index.js +183 -183
- package/package.json +10 -10
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.141.6
|
|
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
|
+
defined_default
|
|
28
|
+
} from "./chunk-HTCLVUBZ.js";
|
|
29
|
+
|
|
30
|
+
// packages/engine/Source/Core/formatError.js
|
|
31
|
+
function formatError(object) {
|
|
32
|
+
let result;
|
|
33
|
+
const name = object.name;
|
|
34
|
+
const message = object.message;
|
|
35
|
+
if (defined_default(name) && defined_default(message)) {
|
|
36
|
+
result = `${name}: ${message}`;
|
|
37
|
+
} else {
|
|
38
|
+
result = object.toString();
|
|
39
|
+
}
|
|
40
|
+
const stack = object.stack;
|
|
41
|
+
if (defined_default(stack)) {
|
|
42
|
+
result += `
|
|
43
|
+
${stack}`;
|
|
44
|
+
}
|
|
45
|
+
return result;
|
|
46
|
+
}
|
|
47
|
+
var formatError_default = formatError;
|
|
48
|
+
|
|
49
|
+
// packages/engine/Source/Workers/createTaskProcessorWorker.js
|
|
50
|
+
function createTaskProcessorWorker(workerFunction) {
|
|
51
|
+
async function onMessageHandler({ data }) {
|
|
52
|
+
const transferableObjects = [];
|
|
53
|
+
const responseMessage = {
|
|
54
|
+
id: data.id,
|
|
55
|
+
result: void 0,
|
|
56
|
+
error: void 0
|
|
57
|
+
};
|
|
58
|
+
self.CESIUM_BASE_URL = data.baseUrl;
|
|
59
|
+
try {
|
|
60
|
+
const result = await workerFunction(data.parameters, transferableObjects);
|
|
61
|
+
responseMessage.result = result;
|
|
62
|
+
} catch (error) {
|
|
63
|
+
if (error instanceof Error) {
|
|
64
|
+
responseMessage.error = {
|
|
65
|
+
name: error.name,
|
|
66
|
+
message: error.message,
|
|
67
|
+
stack: error.stack
|
|
68
|
+
};
|
|
69
|
+
} else {
|
|
70
|
+
responseMessage.error = error;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (!data.canTransferArrayBuffer) {
|
|
74
|
+
transferableObjects.length = 0;
|
|
75
|
+
}
|
|
76
|
+
try {
|
|
77
|
+
postMessage(responseMessage, transferableObjects);
|
|
78
|
+
} catch (error) {
|
|
79
|
+
responseMessage.result = void 0;
|
|
80
|
+
responseMessage.error = `postMessage failed with error: ${formatError_default(
|
|
81
|
+
error
|
|
82
|
+
)}
|
|
83
|
+
with responseMessage: ${JSON.stringify(responseMessage)}`;
|
|
84
|
+
postMessage(responseMessage);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
function onMessageErrorHandler(event) {
|
|
88
|
+
postMessage({
|
|
89
|
+
id: event.data?.id,
|
|
90
|
+
error: `postMessage failed with error: ${JSON.stringify(event)}`
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
self.onmessage = onMessageHandler;
|
|
94
|
+
self.onmessageerror = onMessageErrorHandler;
|
|
95
|
+
return self;
|
|
96
|
+
}
|
|
97
|
+
var createTaskProcessorWorker_default = createTaskProcessorWorker;
|
|
98
|
+
|
|
99
|
+
export {
|
|
100
|
+
createTaskProcessorWorker_default
|
|
101
|
+
};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.141.6
|
|
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
|
+
Cartographic_default,
|
|
28
|
+
Ellipsoid_default
|
|
29
|
+
} from "./chunk-S3XHL7GO.js";
|
|
30
|
+
import {
|
|
31
|
+
Cartesian3_default
|
|
32
|
+
} from "./chunk-VETQOADR.js";
|
|
33
|
+
import {
|
|
34
|
+
Math_default
|
|
35
|
+
} from "./chunk-MKR6YCMG.js";
|
|
36
|
+
import {
|
|
37
|
+
DeveloperError_default
|
|
38
|
+
} from "./chunk-UTAWMCSE.js";
|
|
39
|
+
import {
|
|
40
|
+
defined_default
|
|
41
|
+
} from "./chunk-HTCLVUBZ.js";
|
|
42
|
+
|
|
43
|
+
// packages/engine/Source/Core/WebMercatorProjection.js
|
|
44
|
+
var WebMercatorProjection = class _WebMercatorProjection {
|
|
45
|
+
/**
|
|
46
|
+
* @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid.
|
|
47
|
+
*/
|
|
48
|
+
constructor(ellipsoid) {
|
|
49
|
+
this._ellipsoid = ellipsoid ?? Ellipsoid_default.WGS84;
|
|
50
|
+
this._semimajorAxis = this._ellipsoid.maximumRadius;
|
|
51
|
+
this._oneOverSemimajorAxis = 1 / this._semimajorAxis;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Gets the {@link Ellipsoid}.
|
|
55
|
+
*
|
|
56
|
+
* @type {Ellipsoid}
|
|
57
|
+
* @readonly
|
|
58
|
+
*/
|
|
59
|
+
get ellipsoid() {
|
|
60
|
+
return this._ellipsoid;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Converts a Mercator angle, in the range -PI to PI, to a geodetic latitude
|
|
64
|
+
* in the range -PI/2 to PI/2.
|
|
65
|
+
*
|
|
66
|
+
* @param {number} mercatorAngle The angle to convert.
|
|
67
|
+
* @returns {number} The geodetic latitude in radians.
|
|
68
|
+
*/
|
|
69
|
+
static mercatorAngleToGeodeticLatitude(mercatorAngle) {
|
|
70
|
+
return Math_default.PI_OVER_TWO - 2 * Math.atan(Math.exp(-mercatorAngle));
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Converts a geodetic latitude in radians, in the range -PI/2 to PI/2, to a Mercator
|
|
74
|
+
* angle in the range -PI to PI.
|
|
75
|
+
*
|
|
76
|
+
* @param {number} latitude The geodetic latitude in radians.
|
|
77
|
+
* @returns {number} The Mercator angle.
|
|
78
|
+
*/
|
|
79
|
+
static geodeticLatitudeToMercatorAngle(latitude) {
|
|
80
|
+
if (latitude > _WebMercatorProjection.MaximumLatitude) {
|
|
81
|
+
latitude = _WebMercatorProjection.MaximumLatitude;
|
|
82
|
+
} else if (latitude < -_WebMercatorProjection.MaximumLatitude) {
|
|
83
|
+
latitude = -_WebMercatorProjection.MaximumLatitude;
|
|
84
|
+
}
|
|
85
|
+
const sinLatitude = Math.sin(latitude);
|
|
86
|
+
return 0.5 * Math.log((1 + sinLatitude) / (1 - sinLatitude));
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Converts geodetic ellipsoid coordinates, in radians, to the equivalent Web Mercator
|
|
90
|
+
* X, Y, Z coordinates expressed in meters and returned in a {@link Cartesian3}. The height
|
|
91
|
+
* is copied unmodified to the Z coordinate.
|
|
92
|
+
*
|
|
93
|
+
* @param {Cartographic} cartographic The cartographic coordinates in radians.
|
|
94
|
+
* @param {Cartesian3} [result] The instance to which to copy the result, or undefined if a
|
|
95
|
+
* new instance should be created.
|
|
96
|
+
* @returns {Cartesian3} The equivalent web mercator X, Y, Z coordinates, in meters.
|
|
97
|
+
*/
|
|
98
|
+
project(cartographic, result) {
|
|
99
|
+
const semimajorAxis = this._semimajorAxis;
|
|
100
|
+
const x = cartographic.longitude * semimajorAxis;
|
|
101
|
+
const y = _WebMercatorProjection.geodeticLatitudeToMercatorAngle(
|
|
102
|
+
cartographic.latitude
|
|
103
|
+
) * semimajorAxis;
|
|
104
|
+
const z = cartographic.height;
|
|
105
|
+
if (!defined_default(result)) {
|
|
106
|
+
return new Cartesian3_default(x, y, z);
|
|
107
|
+
}
|
|
108
|
+
result.x = x;
|
|
109
|
+
result.y = y;
|
|
110
|
+
result.z = z;
|
|
111
|
+
return result;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Converts Web Mercator X, Y coordinates, expressed in meters, to a {@link Cartographic}
|
|
115
|
+
* containing geodetic ellipsoid coordinates. The Z coordinate is copied unmodified to the
|
|
116
|
+
* height.
|
|
117
|
+
*
|
|
118
|
+
* @param {Cartesian3} cartesian The web mercator Cartesian position to unrproject with height (z) in meters.
|
|
119
|
+
* @param {Cartographic} [result] The instance to which to copy the result, or undefined if a
|
|
120
|
+
* new instance should be created.
|
|
121
|
+
* @returns {Cartographic} The equivalent cartographic coordinates.
|
|
122
|
+
*/
|
|
123
|
+
unproject(cartesian, result) {
|
|
124
|
+
if (!defined_default(cartesian)) {
|
|
125
|
+
throw new DeveloperError_default("cartesian is required");
|
|
126
|
+
}
|
|
127
|
+
const oneOverEarthSemimajorAxis = this._oneOverSemimajorAxis;
|
|
128
|
+
const longitude = cartesian.x * oneOverEarthSemimajorAxis;
|
|
129
|
+
const latitude = _WebMercatorProjection.mercatorAngleToGeodeticLatitude(
|
|
130
|
+
cartesian.y * oneOverEarthSemimajorAxis
|
|
131
|
+
);
|
|
132
|
+
const height = cartesian.z;
|
|
133
|
+
if (!defined_default(result)) {
|
|
134
|
+
return new Cartographic_default(longitude, latitude, height);
|
|
135
|
+
}
|
|
136
|
+
result.longitude = longitude;
|
|
137
|
+
result.latitude = latitude;
|
|
138
|
+
result.height = height;
|
|
139
|
+
return result;
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
WebMercatorProjection.MaximumLatitude = WebMercatorProjection.mercatorAngleToGeodeticLatitude(Math.PI);
|
|
143
|
+
var WebMercatorProjection_default = WebMercatorProjection;
|
|
144
|
+
|
|
145
|
+
export {
|
|
146
|
+
WebMercatorProjection_default
|
|
147
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.141.6
|
|
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/Intersect.js
|
|
28
|
+
var Intersect = {
|
|
29
|
+
/**
|
|
30
|
+
* Represents that an object is not contained within the frustum.
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @constant
|
|
34
|
+
*/
|
|
35
|
+
OUTSIDE: -1,
|
|
36
|
+
/**
|
|
37
|
+
* Represents that an object intersects one of the frustum's planes.
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @constant
|
|
41
|
+
*/
|
|
42
|
+
INTERSECTING: 0,
|
|
43
|
+
/**
|
|
44
|
+
* Represents that an object is fully within the frustum.
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @constant
|
|
48
|
+
*/
|
|
49
|
+
INSIDE: 1
|
|
50
|
+
};
|
|
51
|
+
Object.freeze(Intersect);
|
|
52
|
+
var Intersect_default = Intersect;
|
|
53
|
+
|
|
54
|
+
export {
|
|
55
|
+
Intersect_default
|
|
56
|
+
};
|