@luma.gl/core 8.5.11 → 8.5.12
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/dist/dist.js +131 -62
- package/dist/dist.min.js +1 -1
- package/package.json +7 -7
package/dist/dist.js
CHANGED
|
@@ -98,7 +98,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
98
98
|
|
|
99
99
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/base/math-array.js":
|
|
100
100
|
/*!**************************************************************************************************!*\
|
|
101
|
-
!*** /Users/
|
|
101
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/base/math-array.js ***!
|
|
102
102
|
\**************************************************************************************************/
|
|
103
103
|
/*! exports provided: default */
|
|
104
104
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -379,7 +379,7 @@ class MathArray extends _extendableBuiltin(Array) {
|
|
|
379
379
|
|
|
380
380
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/base/matrix.js":
|
|
381
381
|
/*!**********************************************************************************************!*\
|
|
382
|
-
!*** /Users/
|
|
382
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/base/matrix.js ***!
|
|
383
383
|
\**********************************************************************************************/
|
|
384
384
|
/*! exports provided: default */
|
|
385
385
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -469,7 +469,7 @@ class Matrix extends _math_array__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
|
469
469
|
|
|
470
470
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/base/vector.js":
|
|
471
471
|
/*!**********************************************************************************************!*\
|
|
472
|
-
!*** /Users/
|
|
472
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/base/vector.js ***!
|
|
473
473
|
\**********************************************************************************************/
|
|
474
474
|
/*! exports provided: default */
|
|
475
475
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -635,7 +635,7 @@ class Vector extends _math_array__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
|
635
635
|
|
|
636
636
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/euler.js":
|
|
637
637
|
/*!****************************************************************************************!*\
|
|
638
|
-
!*** /Users/
|
|
638
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/euler.js ***!
|
|
639
639
|
\****************************************************************************************/
|
|
640
640
|
/*! exports provided: default */
|
|
641
641
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -1196,7 +1196,7 @@ class Euler extends _base_math_array__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
|
1196
1196
|
|
|
1197
1197
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/matrix3.js":
|
|
1198
1198
|
/*!******************************************************************************************!*\
|
|
1199
|
-
!*** /Users/
|
|
1199
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/matrix3.js ***!
|
|
1200
1200
|
\******************************************************************************************/
|
|
1201
1201
|
/*! exports provided: default */
|
|
1202
1202
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -1399,7 +1399,7 @@ class Matrix3 extends _base_matrix__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
|
1399
1399
|
|
|
1400
1400
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/matrix4.js":
|
|
1401
1401
|
/*!******************************************************************************************!*\
|
|
1402
|
-
!*** /Users/
|
|
1402
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/matrix4.js ***!
|
|
1403
1403
|
\******************************************************************************************/
|
|
1404
1404
|
/*! exports provided: default */
|
|
1405
1405
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -1874,7 +1874,7 @@ class Matrix4 extends _base_matrix__WEBPACK_IMPORTED_MODULE_1__["default"] {
|
|
|
1874
1874
|
|
|
1875
1875
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/pose.js":
|
|
1876
1876
|
/*!***************************************************************************************!*\
|
|
1877
|
-
!*** /Users/
|
|
1877
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/pose.js ***!
|
|
1878
1878
|
\***************************************************************************************/
|
|
1879
1879
|
/*! exports provided: default */
|
|
1880
1880
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -2010,7 +2010,7 @@ class Pose {
|
|
|
2010
2010
|
|
|
2011
2011
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/quaternion.js":
|
|
2012
2012
|
/*!*********************************************************************************************!*\
|
|
2013
|
-
!*** /Users/
|
|
2013
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/quaternion.js ***!
|
|
2014
2014
|
\*********************************************************************************************/
|
|
2015
2015
|
/*! exports provided: default */
|
|
2016
2016
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -2258,7 +2258,7 @@ class Quaternion extends _base_math_array__WEBPACK_IMPORTED_MODULE_0__["default"
|
|
|
2258
2258
|
|
|
2259
2259
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/spherical-coordinates.js":
|
|
2260
2260
|
/*!********************************************************************************************************!*\
|
|
2261
|
-
!*** /Users/
|
|
2261
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/spherical-coordinates.js ***!
|
|
2262
2262
|
\********************************************************************************************************/
|
|
2263
2263
|
/*! exports provided: default */
|
|
2264
2264
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -2419,7 +2419,7 @@ class SphericalCoordinates {
|
|
|
2419
2419
|
|
|
2420
2420
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/vector2.js":
|
|
2421
2421
|
/*!******************************************************************************************!*\
|
|
2422
|
-
!*** /Users/
|
|
2422
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/vector2.js ***!
|
|
2423
2423
|
\******************************************************************************************/
|
|
2424
2424
|
/*! exports provided: default */
|
|
2425
2425
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -2531,7 +2531,7 @@ class Vector2 extends _base_vector__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
|
2531
2531
|
|
|
2532
2532
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/vector3.js":
|
|
2533
2533
|
/*!******************************************************************************************!*\
|
|
2534
|
-
!*** /Users/
|
|
2534
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/vector3.js ***!
|
|
2535
2535
|
\******************************************************************************************/
|
|
2536
2536
|
/*! exports provided: default */
|
|
2537
2537
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -2689,7 +2689,7 @@ class Vector3 extends _base_vector__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
|
2689
2689
|
|
|
2690
2690
|
/***/ "../../node_modules/@math.gl/core/dist/esm/classes/vector4.js":
|
|
2691
2691
|
/*!******************************************************************************************!*\
|
|
2692
|
-
!*** /Users/
|
|
2692
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/classes/vector4.js ***!
|
|
2693
2693
|
\******************************************************************************************/
|
|
2694
2694
|
/*! exports provided: default */
|
|
2695
2695
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -2824,7 +2824,7 @@ class Vector4 extends _base_vector__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
|
2824
2824
|
|
|
2825
2825
|
/***/ "../../node_modules/@math.gl/core/dist/esm/index.js":
|
|
2826
2826
|
/*!********************************************************************************!*\
|
|
2827
|
-
!*** /Users/
|
|
2827
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/index.js ***!
|
|
2828
2828
|
\********************************************************************************/
|
|
2829
2829
|
/*! exports provided: Vector2, Vector3, Vector4, Matrix3, Matrix4, Quaternion, config, configure, formatValue, isArray, clone, equals, exactEquals, toRadians, toDegrees, radians, degrees, sin, cos, tan, asin, acos, atan, clamp, lerp, withEpsilon, checkNumber, _MathUtils, SphericalCoordinates, Pose, Euler, assert, _SphericalCoordinates, _Pose, _Euler */
|
|
2830
2830
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -2947,7 +2947,7 @@ global_.mathgl = {
|
|
|
2947
2947
|
|
|
2948
2948
|
/***/ "../../node_modules/@math.gl/core/dist/esm/lib/assert.js":
|
|
2949
2949
|
/*!*************************************************************************************!*\
|
|
2950
|
-
!*** /Users/
|
|
2950
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/lib/assert.js ***!
|
|
2951
2951
|
\*************************************************************************************/
|
|
2952
2952
|
/*! exports provided: default */
|
|
2953
2953
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -2966,7 +2966,7 @@ function assert(condition, message) {
|
|
|
2966
2966
|
|
|
2967
2967
|
/***/ "../../node_modules/@math.gl/core/dist/esm/lib/common.js":
|
|
2968
2968
|
/*!*************************************************************************************!*\
|
|
2969
|
-
!*** /Users/
|
|
2969
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/lib/common.js ***!
|
|
2970
2970
|
\*************************************************************************************/
|
|
2971
2971
|
/*! exports provided: config, configure, formatValue, isArray, clone, toRadians, toDegrees, radians, degrees, sin, cos, tan, asin, acos, atan, clamp, lerp, equals, exactEquals, withEpsilon */
|
|
2972
2972
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3183,7 +3183,7 @@ function withEpsilon(EPSILON, func) {
|
|
|
3183
3183
|
|
|
3184
3184
|
/***/ "../../node_modules/@math.gl/core/dist/esm/lib/gl-matrix-extras.js":
|
|
3185
3185
|
/*!***********************************************************************************************!*\
|
|
3186
|
-
!*** /Users/
|
|
3186
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/lib/gl-matrix-extras.js ***!
|
|
3187
3187
|
\***********************************************************************************************/
|
|
3188
3188
|
/*! exports provided: vec2_transformMat4AsVector, vec3_transformMat4AsVector, vec3_transformMat2, vec4_transformMat2, vec4_transformMat3 */
|
|
3189
3189
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3246,7 +3246,7 @@ function vec4_transformMat3(out, a, m) {
|
|
|
3246
3246
|
|
|
3247
3247
|
/***/ "../../node_modules/@math.gl/core/dist/esm/lib/math-utils.js":
|
|
3248
3248
|
/*!*****************************************************************************************!*\
|
|
3249
|
-
!*** /Users/
|
|
3249
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/lib/math-utils.js ***!
|
|
3250
3250
|
\*****************************************************************************************/
|
|
3251
3251
|
/*! exports provided: default */
|
|
3252
3252
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3285,7 +3285,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3285
3285
|
|
|
3286
3286
|
/***/ "../../node_modules/@math.gl/core/dist/esm/lib/validators.js":
|
|
3287
3287
|
/*!*****************************************************************************************!*\
|
|
3288
|
-
!*** /Users/
|
|
3288
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@math.gl/core/dist/esm/lib/validators.js ***!
|
|
3289
3289
|
\*****************************************************************************************/
|
|
3290
3290
|
/*! exports provided: validateVector, checkNumber, checkVector, deprecated */
|
|
3291
3291
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3338,7 +3338,7 @@ function deprecated(method, version) {
|
|
|
3338
3338
|
|
|
3339
3339
|
/***/ "../../node_modules/@probe.gl/env/dist/esm/index.js":
|
|
3340
3340
|
/*!********************************************************************************!*\
|
|
3341
|
-
!*** /Users/
|
|
3341
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/env/dist/esm/index.js ***!
|
|
3342
3342
|
\********************************************************************************/
|
|
3343
3343
|
/*! exports provided: VERSION, self, window, global, document, process, console, isBrowser, isBrowserMainThread, getBrowser, isMobile, isElectron, assert */
|
|
3344
3344
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3389,7 +3389,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3389
3389
|
|
|
3390
3390
|
/***/ "../../node_modules/@probe.gl/env/dist/esm/lib/get-browser.js":
|
|
3391
3391
|
/*!******************************************************************************************!*\
|
|
3392
|
-
!*** /Users/
|
|
3392
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/env/dist/esm/lib/get-browser.js ***!
|
|
3393
3393
|
\******************************************************************************************/
|
|
3394
3394
|
/*! exports provided: isMobile, default */
|
|
3395
3395
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3449,7 +3449,7 @@ function getBrowser(mockUserAgent) {
|
|
|
3449
3449
|
|
|
3450
3450
|
/***/ "../../node_modules/@probe.gl/env/dist/esm/lib/globals.js":
|
|
3451
3451
|
/*!**************************************************************************************!*\
|
|
3452
|
-
!*** /Users/
|
|
3452
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/env/dist/esm/lib/globals.js ***!
|
|
3453
3453
|
\**************************************************************************************/
|
|
3454
3454
|
/*! exports provided: self, window, global, document, process, console */
|
|
3455
3455
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3483,7 +3483,7 @@ const console_ = console;
|
|
|
3483
3483
|
|
|
3484
3484
|
/***/ "../../node_modules/@probe.gl/env/dist/esm/lib/is-browser.js":
|
|
3485
3485
|
/*!*****************************************************************************************!*\
|
|
3486
|
-
!*** /Users/
|
|
3486
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/env/dist/esm/lib/is-browser.js ***!
|
|
3487
3487
|
\*****************************************************************************************/
|
|
3488
3488
|
/*! exports provided: default, isBrowserMainThread */
|
|
3489
3489
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3508,7 +3508,7 @@ function isBrowserMainThread() {
|
|
|
3508
3508
|
|
|
3509
3509
|
/***/ "../../node_modules/@probe.gl/env/dist/esm/lib/is-electron.js":
|
|
3510
3510
|
/*!******************************************************************************************!*\
|
|
3511
|
-
!*** /Users/
|
|
3511
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/env/dist/esm/lib/is-electron.js ***!
|
|
3512
3512
|
\******************************************************************************************/
|
|
3513
3513
|
/*! exports provided: default */
|
|
3514
3514
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3541,7 +3541,7 @@ function isElectron(mockUserAgent) {
|
|
|
3541
3541
|
|
|
3542
3542
|
/***/ "../../node_modules/@probe.gl/env/dist/esm/utils/assert.js":
|
|
3543
3543
|
/*!***************************************************************************************!*\
|
|
3544
|
-
!*** /Users/
|
|
3544
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/env/dist/esm/utils/assert.js ***!
|
|
3545
3545
|
\***************************************************************************************/
|
|
3546
3546
|
/*! exports provided: default */
|
|
3547
3547
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3560,7 +3560,7 @@ function assert(condition, message) {
|
|
|
3560
3560
|
|
|
3561
3561
|
/***/ "../../node_modules/@probe.gl/env/dist/esm/utils/globals.js":
|
|
3562
3562
|
/*!****************************************************************************************!*\
|
|
3563
|
-
!*** /Users/
|
|
3563
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/env/dist/esm/utils/globals.js ***!
|
|
3564
3564
|
\****************************************************************************************/
|
|
3565
3565
|
/*! exports provided: self, window, global, document, process, console, VERSION, isBrowser */
|
|
3566
3566
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3585,7 +3585,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3585
3585
|
|
|
3586
3586
|
|
|
3587
3587
|
|
|
3588
|
-
const VERSION = true ? "8.5.
|
|
3588
|
+
const VERSION = true ? "8.5.11" : undefined;
|
|
3589
3589
|
const isBrowser = Object(_lib_is_browser__WEBPACK_IMPORTED_MODULE_0__["default"])();
|
|
3590
3590
|
//# sourceMappingURL=globals.js.map
|
|
3591
3591
|
|
|
@@ -3593,7 +3593,7 @@ const isBrowser = Object(_lib_is_browser__WEBPACK_IMPORTED_MODULE_0__["default"]
|
|
|
3593
3593
|
|
|
3594
3594
|
/***/ "../../node_modules/@probe.gl/stats/dist/esm/index.js":
|
|
3595
3595
|
/*!**********************************************************************************!*\
|
|
3596
|
-
!*** /Users/
|
|
3596
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/stats/dist/esm/index.js ***!
|
|
3597
3597
|
\**********************************************************************************/
|
|
3598
3598
|
/*! exports provided: Stats, Stat, _getHiResTimestamp */
|
|
3599
3599
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3618,7 +3618,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3618
3618
|
|
|
3619
3619
|
/***/ "../../node_modules/@probe.gl/stats/dist/esm/lib/stat.js":
|
|
3620
3620
|
/*!*************************************************************************************!*\
|
|
3621
|
-
!*** /Users/
|
|
3621
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/stats/dist/esm/lib/stat.js ***!
|
|
3622
3622
|
\*************************************************************************************/
|
|
3623
3623
|
/*! exports provided: default */
|
|
3624
3624
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3757,7 +3757,7 @@ class Stat {
|
|
|
3757
3757
|
|
|
3758
3758
|
/***/ "../../node_modules/@probe.gl/stats/dist/esm/lib/stats.js":
|
|
3759
3759
|
/*!**************************************************************************************!*\
|
|
3760
|
-
!*** /Users/
|
|
3760
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/stats/dist/esm/lib/stats.js ***!
|
|
3761
3761
|
\**************************************************************************************/
|
|
3762
3762
|
/*! exports provided: default */
|
|
3763
3763
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3850,7 +3850,7 @@ class Stats {
|
|
|
3850
3850
|
|
|
3851
3851
|
/***/ "../../node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js":
|
|
3852
3852
|
/*!***************************************************************************************************!*\
|
|
3853
|
-
!*** /Users/
|
|
3853
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js ***!
|
|
3854
3854
|
\***************************************************************************************************/
|
|
3855
3855
|
/*! exports provided: default */
|
|
3856
3856
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3879,7 +3879,7 @@ function getHiResTimestamp() {
|
|
|
3879
3879
|
|
|
3880
3880
|
/***/ "../../node_modules/gl-matrix/esm/common.js":
|
|
3881
3881
|
/*!************************************************************************!*\
|
|
3882
|
-
!*** /Users/
|
|
3882
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/gl-matrix/esm/common.js ***!
|
|
3883
3883
|
\************************************************************************/
|
|
3884
3884
|
/*! exports provided: EPSILON, ARRAY_TYPE, RANDOM, setMatrixArrayType, toRadian, equals */
|
|
3885
3885
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -3947,7 +3947,7 @@ if (!Math.hypot) Math.hypot = function () {
|
|
|
3947
3947
|
|
|
3948
3948
|
/***/ "../../node_modules/gl-matrix/esm/mat3.js":
|
|
3949
3949
|
/*!**********************************************************************!*\
|
|
3950
|
-
!*** /Users/
|
|
3950
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/gl-matrix/esm/mat3.js ***!
|
|
3951
3951
|
\**********************************************************************/
|
|
3952
3952
|
/*! exports provided: create, fromMat4, clone, copy, fromValues, set, identity, transpose, invert, adjoint, determinant, multiply, translate, rotate, scale, fromTranslation, fromRotation, fromScaling, fromMat2d, fromQuat, normalFromMat4, projection, str, frob, add, subtract, multiplyScalar, multiplyScalarAndAdd, exactEquals, equals, mul, sub */
|
|
3953
3953
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -4770,7 +4770,7 @@ var sub = subtract;
|
|
|
4770
4770
|
|
|
4771
4771
|
/***/ "../../node_modules/gl-matrix/esm/mat4.js":
|
|
4772
4772
|
/*!**********************************************************************!*\
|
|
4773
|
-
!*** /Users/
|
|
4773
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/gl-matrix/esm/mat4.js ***!
|
|
4774
4774
|
\**********************************************************************/
|
|
4775
4775
|
/*! exports provided: create, clone, copy, fromValues, set, identity, transpose, invert, adjoint, determinant, multiply, translate, scale, rotate, rotateX, rotateY, rotateZ, fromTranslation, fromScaling, fromRotation, fromXRotation, fromYRotation, fromZRotation, fromRotationTranslation, fromQuat2, getTranslation, getScaling, getRotation, fromRotationTranslationScale, fromRotationTranslationScaleOrigin, fromQuat, frustum, perspective, perspectiveFromFieldOfView, ortho, lookAt, targetTo, str, frob, add, subtract, multiplyScalar, multiplyScalarAndAdd, exactEquals, equals, mul, sub */
|
|
4776
4776
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -6644,7 +6644,7 @@ var sub = subtract;
|
|
|
6644
6644
|
|
|
6645
6645
|
/***/ "../../node_modules/gl-matrix/esm/quat.js":
|
|
6646
6646
|
/*!**********************************************************************!*\
|
|
6647
|
-
!*** /Users/
|
|
6647
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/gl-matrix/esm/quat.js ***!
|
|
6648
6648
|
\**********************************************************************/
|
|
6649
6649
|
/*! exports provided: create, identity, setAxisAngle, getAxisAngle, getAngle, multiply, rotateX, rotateY, rotateZ, calculateW, exp, ln, pow, slerp, random, invert, conjugate, fromMat3, fromEuler, str, clone, fromValues, copy, set, add, mul, scale, dot, lerp, length, len, squaredLength, sqrLen, normalize, exactEquals, equals, rotationTo, sqlerp, setAxes */
|
|
6650
6650
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -7409,7 +7409,7 @@ var setAxes = function () {
|
|
|
7409
7409
|
|
|
7410
7410
|
/***/ "../../node_modules/gl-matrix/esm/vec2.js":
|
|
7411
7411
|
/*!**********************************************************************!*\
|
|
7412
|
-
!*** /Users/
|
|
7412
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/gl-matrix/esm/vec2.js ***!
|
|
7413
7413
|
\**********************************************************************/
|
|
7414
7414
|
/*! exports provided: create, clone, fromValues, copy, set, add, subtract, multiply, divide, ceil, floor, min, max, round, scale, scaleAndAdd, distance, squaredDistance, length, squaredLength, negate, inverse, normalize, dot, cross, lerp, random, transformMat2, transformMat2d, transformMat3, transformMat4, rotate, angle, zero, str, exactEquals, equals, len, sub, mul, div, dist, sqrDist, sqrLen, forEach */
|
|
7415
7415
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -8091,7 +8091,7 @@ var forEach = function () {
|
|
|
8091
8091
|
|
|
8092
8092
|
/***/ "../../node_modules/gl-matrix/esm/vec3.js":
|
|
8093
8093
|
/*!**********************************************************************!*\
|
|
8094
|
-
!*** /Users/
|
|
8094
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/gl-matrix/esm/vec3.js ***!
|
|
8095
8095
|
\**********************************************************************/
|
|
8096
8096
|
/*! exports provided: create, clone, length, fromValues, copy, set, add, subtract, multiply, divide, ceil, floor, min, max, round, scale, scaleAndAdd, distance, squaredDistance, squaredLength, negate, inverse, normalize, dot, cross, lerp, hermite, bezier, random, transformMat4, transformMat3, transformQuat, rotateX, rotateY, rotateZ, angle, zero, str, exactEquals, equals, sub, mul, div, dist, sqrDist, len, sqrLen, forEach */
|
|
8097
8097
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -8939,7 +8939,7 @@ var forEach = function () {
|
|
|
8939
8939
|
|
|
8940
8940
|
/***/ "../../node_modules/gl-matrix/esm/vec4.js":
|
|
8941
8941
|
/*!**********************************************************************!*\
|
|
8942
|
-
!*** /Users/
|
|
8942
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/gl-matrix/esm/vec4.js ***!
|
|
8943
8943
|
\**********************************************************************/
|
|
8944
8944
|
/*! exports provided: create, clone, fromValues, copy, set, add, subtract, multiply, divide, ceil, floor, min, max, round, scale, scaleAndAdd, distance, squaredDistance, length, squaredLength, negate, inverse, normalize, dot, cross, lerp, random, transformMat4, transformQuat, zero, str, exactEquals, equals, sub, mul, div, dist, sqrDist, len, sqrLen, forEach */
|
|
8945
8945
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9656,7 +9656,7 @@ var forEach = function () {
|
|
|
9656
9656
|
|
|
9657
9657
|
/***/ "../../node_modules/probe.gl/dist/esm/env/get-browser.js":
|
|
9658
9658
|
/*!*************************************************************************************!*\
|
|
9659
|
-
!*** /Users/
|
|
9659
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/env/get-browser.js ***!
|
|
9660
9660
|
\*************************************************************************************/
|
|
9661
9661
|
/*! exports provided: isMobile, default */
|
|
9662
9662
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9717,7 +9717,7 @@ function getBrowser(mockUserAgent) {
|
|
|
9717
9717
|
|
|
9718
9718
|
/***/ "../../node_modules/probe.gl/dist/esm/env/globals.js":
|
|
9719
9719
|
/*!*********************************************************************************!*\
|
|
9720
|
-
!*** /Users/
|
|
9720
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/env/globals.js ***!
|
|
9721
9721
|
\*********************************************************************************/
|
|
9722
9722
|
/*! exports provided: self, window, global, document, process, console */
|
|
9723
9723
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9751,7 +9751,7 @@ const console_ = console;
|
|
|
9751
9751
|
|
|
9752
9752
|
/***/ "../../node_modules/probe.gl/dist/esm/env/is-browser.js":
|
|
9753
9753
|
/*!************************************************************************************!*\
|
|
9754
|
-
!*** /Users/
|
|
9754
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/env/is-browser.js ***!
|
|
9755
9755
|
\************************************************************************************/
|
|
9756
9756
|
/*! exports provided: default, isBrowserMainThread */
|
|
9757
9757
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9776,7 +9776,7 @@ function isBrowserMainThread() {
|
|
|
9776
9776
|
|
|
9777
9777
|
/***/ "../../node_modules/probe.gl/dist/esm/env/is-electron.js":
|
|
9778
9778
|
/*!*************************************************************************************!*\
|
|
9779
|
-
!*** /Users/
|
|
9779
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/env/is-electron.js ***!
|
|
9780
9780
|
\*************************************************************************************/
|
|
9781
9781
|
/*! exports provided: default */
|
|
9782
9782
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9809,7 +9809,7 @@ function isElectron(mockUserAgent) {
|
|
|
9809
9809
|
|
|
9810
9810
|
/***/ "../../node_modules/probe.gl/dist/esm/index.js":
|
|
9811
9811
|
/*!***************************************************************************!*\
|
|
9812
|
-
!*** /Users/
|
|
9812
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/index.js ***!
|
|
9813
9813
|
\***************************************************************************/
|
|
9814
9814
|
/*! exports provided: VERSION, self, window, global, document, process, console, isBrowser, isBrowserMainThread, getBrowser, isMobile, isElectron, assert, Log, COLOR, default, addColor, leftPad, rightPad, autobind, LocalStorage, getHiResTimestamp, Stats, Stat */
|
|
9815
9815
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9901,7 +9901,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9901
9901
|
|
|
9902
9902
|
/***/ "../../node_modules/probe.gl/dist/esm/init.js":
|
|
9903
9903
|
/*!**************************************************************************!*\
|
|
9904
|
-
!*** /Users/
|
|
9904
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/init.js ***!
|
|
9905
9905
|
\**************************************************************************/
|
|
9906
9906
|
/*! no exports provided */
|
|
9907
9907
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9917,7 +9917,7 @@ _utils_globals__WEBPACK_IMPORTED_MODULE_0__["global"].probe = {};
|
|
|
9917
9917
|
|
|
9918
9918
|
/***/ "../../node_modules/probe.gl/dist/esm/lib/log.js":
|
|
9919
9919
|
/*!*****************************************************************************!*\
|
|
9920
|
-
!*** /Users/
|
|
9920
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/lib/log.js ***!
|
|
9921
9921
|
\*****************************************************************************/
|
|
9922
9922
|
/*! exports provided: default, normalizeArguments */
|
|
9923
9923
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10352,7 +10352,7 @@ function logImageInBrowser({
|
|
|
10352
10352
|
|
|
10353
10353
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/assert.js":
|
|
10354
10354
|
/*!**********************************************************************************!*\
|
|
10355
|
-
!*** /Users/
|
|
10355
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/utils/assert.js ***!
|
|
10356
10356
|
\**********************************************************************************/
|
|
10357
10357
|
/*! exports provided: default */
|
|
10358
10358
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10371,7 +10371,7 @@ function assert(condition, message) {
|
|
|
10371
10371
|
|
|
10372
10372
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/autobind.js":
|
|
10373
10373
|
/*!************************************************************************************!*\
|
|
10374
|
-
!*** /Users/
|
|
10374
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/utils/autobind.js ***!
|
|
10375
10375
|
\************************************************************************************/
|
|
10376
10376
|
/*! exports provided: autobind */
|
|
10377
10377
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10397,7 +10397,7 @@ function autobind(obj, predefined = ['constructor']) {
|
|
|
10397
10397
|
|
|
10398
10398
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/color.js":
|
|
10399
10399
|
/*!*********************************************************************************!*\
|
|
10400
|
-
!*** /Users/
|
|
10400
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/utils/color.js ***!
|
|
10401
10401
|
\*********************************************************************************/
|
|
10402
10402
|
/*! exports provided: COLOR, addColor */
|
|
10403
10403
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10452,7 +10452,7 @@ function addColor(string, color, background) {
|
|
|
10452
10452
|
|
|
10453
10453
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/formatters.js":
|
|
10454
10454
|
/*!**************************************************************************************!*\
|
|
10455
|
-
!*** /Users/
|
|
10455
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/utils/formatters.js ***!
|
|
10456
10456
|
\**************************************************************************************/
|
|
10457
10457
|
/*! exports provided: formatTime, leftPad, rightPad, formatValue, formatImage */
|
|
10458
10458
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10555,7 +10555,7 @@ function formatImage(image, message, scale, maxWidth = 600) {
|
|
|
10555
10555
|
|
|
10556
10556
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/globals.js":
|
|
10557
10557
|
/*!***********************************************************************************!*\
|
|
10558
|
-
!*** /Users/
|
|
10558
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/utils/globals.js ***!
|
|
10559
10559
|
\***********************************************************************************/
|
|
10560
10560
|
/*! exports provided: self, window, global, document, process, console, VERSION, isBrowser */
|
|
10561
10561
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10580,7 +10580,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10580
10580
|
|
|
10581
10581
|
|
|
10582
10582
|
|
|
10583
|
-
const VERSION = true ? "8.5.
|
|
10583
|
+
const VERSION = true ? "8.5.11" : undefined;
|
|
10584
10584
|
const isBrowser = Object(_env_is_browser__WEBPACK_IMPORTED_MODULE_0__["default"])();
|
|
10585
10585
|
//# sourceMappingURL=globals.js.map
|
|
10586
10586
|
|
|
@@ -10588,7 +10588,7 @@ const isBrowser = Object(_env_is_browser__WEBPACK_IMPORTED_MODULE_0__["default"]
|
|
|
10588
10588
|
|
|
10589
10589
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/hi-res-timestamp.js":
|
|
10590
10590
|
/*!********************************************************************************************!*\
|
|
10591
|
-
!*** /Users/
|
|
10591
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/utils/hi-res-timestamp.js ***!
|
|
10592
10592
|
\********************************************************************************************/
|
|
10593
10593
|
/*! exports provided: default */
|
|
10594
10594
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10618,7 +10618,7 @@ function getHiResTimestamp() {
|
|
|
10618
10618
|
|
|
10619
10619
|
/***/ "../../node_modules/probe.gl/dist/esm/utils/local-storage.js":
|
|
10620
10620
|
/*!*****************************************************************************************!*\
|
|
10621
|
-
!*** /Users/
|
|
10621
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/probe.gl/dist/esm/utils/local-storage.js ***!
|
|
10622
10622
|
\*****************************************************************************************/
|
|
10623
10623
|
/*! exports provided: default */
|
|
10624
10624
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10687,7 +10687,7 @@ class LocalStorage {
|
|
|
10687
10687
|
|
|
10688
10688
|
/***/ "../../node_modules/process/browser.js":
|
|
10689
10689
|
/*!*******************************************************************!*\
|
|
10690
|
-
!*** /Users/
|
|
10690
|
+
!*** /Users/ibgreen/code/luma.gl/node_modules/process/browser.js ***!
|
|
10691
10691
|
\*******************************************************************/
|
|
10692
10692
|
/*! no static exports found */
|
|
10693
10693
|
/***/ (function(module, exports) {
|
|
@@ -24021,6 +24021,10 @@ const PROP_CHECKS_SET_PROPS = {
|
|
|
24021
24021
|
};
|
|
24022
24022
|
|
|
24023
24023
|
class Buffer extends _resource__WEBPACK_IMPORTED_MODULE_1__["default"] {
|
|
24024
|
+
// eslint-disable-next-line accessor-pairs
|
|
24025
|
+
get [Symbol.toStringTag]() {
|
|
24026
|
+
return 'Buffer';
|
|
24027
|
+
}
|
|
24024
24028
|
constructor(gl, props = {}) {
|
|
24025
24029
|
super(gl, props);
|
|
24026
24030
|
|
|
@@ -24943,6 +24947,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24943
24947
|
const ERR_MULTIPLE_RENDERTARGETS = 'Multiple render targets not supported';
|
|
24944
24948
|
|
|
24945
24949
|
class Framebuffer extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
24950
|
+
// eslint-disable-next-line accessor-pairs
|
|
24951
|
+
get [Symbol.toStringTag]() {
|
|
24952
|
+
return 'Framebuffer';
|
|
24953
|
+
}
|
|
24946
24954
|
static isSupported(gl, options = {}) {
|
|
24947
24955
|
const {
|
|
24948
24956
|
colorBufferFloat, // Whether floating point textures can be rendered and read
|
|
@@ -25838,6 +25846,10 @@ const V6_DEPRECATED_METHODS = [
|
|
|
25838
25846
|
];
|
|
25839
25847
|
|
|
25840
25848
|
class Program extends _resource__WEBPACK_IMPORTED_MODULE_1__["default"] {
|
|
25849
|
+
// eslint-disable-next-line accessor-pairs
|
|
25850
|
+
get [Symbol.toStringTag]() {
|
|
25851
|
+
return 'Program';
|
|
25852
|
+
}
|
|
25841
25853
|
constructor(gl, props = {}) {
|
|
25842
25854
|
super(gl, props);
|
|
25843
25855
|
|
|
@@ -26229,6 +26241,10 @@ const GL_ANY_SAMPLES_PASSED = 0x8c2f; // Occlusion query (if drawing passed dept
|
|
|
26229
26241
|
const GL_ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8d6a; // Occlusion query less accurate/faster version
|
|
26230
26242
|
|
|
26231
26243
|
class Query extends _resource__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
26244
|
+
// eslint-disable-next-line accessor-pairs
|
|
26245
|
+
get [Symbol.toStringTag]() {
|
|
26246
|
+
return 'Query';
|
|
26247
|
+
}
|
|
26232
26248
|
// Returns true if Query is supported by the WebGL implementation
|
|
26233
26249
|
// Can also check whether timestamp queries are available.
|
|
26234
26250
|
static isSupported(gl, opts = []) {
|
|
@@ -26494,6 +26510,10 @@ function isFormatSupported(gl, format, formats) {
|
|
|
26494
26510
|
}
|
|
26495
26511
|
|
|
26496
26512
|
class Renderbuffer extends _resource__WEBPACK_IMPORTED_MODULE_1__["default"] {
|
|
26513
|
+
// eslint-disable-next-line accessor-pairs
|
|
26514
|
+
get [Symbol.toStringTag]() {
|
|
26515
|
+
return 'Renderbuffer';
|
|
26516
|
+
}
|
|
26497
26517
|
static isSupported(gl, {format} = {format: null}) {
|
|
26498
26518
|
return !format || isFormatSupported(gl, format, _renderbuffer_formats__WEBPACK_IMPORTED_MODULE_2__["default"]);
|
|
26499
26519
|
}
|
|
@@ -26614,6 +26634,10 @@ const ERR_RESOURCE_METHOD_UNDEFINED = 'Resource subclass must define virtual met
|
|
|
26614
26634
|
// }
|
|
26615
26635
|
|
|
26616
26636
|
class Resource {
|
|
26637
|
+
// eslint-disable-next-line accessor-pairs
|
|
26638
|
+
get [Symbol.toStringTag]() {
|
|
26639
|
+
return 'Resource';
|
|
26640
|
+
}
|
|
26617
26641
|
constructor(gl, opts = {}) {
|
|
26618
26642
|
Object(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__["assertWebGLContext"])(gl);
|
|
26619
26643
|
|
|
@@ -26622,7 +26646,7 @@ class Resource {
|
|
|
26622
26646
|
// @ts-ignore
|
|
26623
26647
|
this.gl2 = gl;
|
|
26624
26648
|
// this.ext = polyfillContext(gl);
|
|
26625
|
-
this.id = id || Object(_utils_utils__WEBPACK_IMPORTED_MODULE_4__["uid"])(this.
|
|
26649
|
+
this.id = id || Object(_utils_utils__WEBPACK_IMPORTED_MODULE_4__["uid"])(this[Symbol.toStringTag]);
|
|
26626
26650
|
this.userData = userData;
|
|
26627
26651
|
this._bound = false;
|
|
26628
26652
|
|
|
@@ -26645,7 +26669,7 @@ class Resource {
|
|
|
26645
26669
|
}
|
|
26646
26670
|
|
|
26647
26671
|
toString() {
|
|
26648
|
-
return `${this.constructor.name}(${this.id})`;
|
|
26672
|
+
return `${this[Symbol.toStringTag] || this.constructor.name}(${this.id})`;
|
|
26649
26673
|
}
|
|
26650
26674
|
|
|
26651
26675
|
get handle() {
|
|
@@ -26876,7 +26900,7 @@ class Resource {
|
|
|
26876
26900
|
}
|
|
26877
26901
|
|
|
26878
26902
|
_addStats() {
|
|
26879
|
-
const name = this.
|
|
26903
|
+
const name = this[Symbol.toStringTag];
|
|
26880
26904
|
const stats = _init__WEBPACK_IMPORTED_MODULE_1__["lumaStats"].get('Resource Counts');
|
|
26881
26905
|
|
|
26882
26906
|
stats.get('Resources Created').incrementCount();
|
|
@@ -26885,13 +26909,13 @@ class Resource {
|
|
|
26885
26909
|
}
|
|
26886
26910
|
|
|
26887
26911
|
_removeStats() {
|
|
26888
|
-
const name = this.
|
|
26912
|
+
const name = this[Symbol.toStringTag];
|
|
26889
26913
|
const stats = _init__WEBPACK_IMPORTED_MODULE_1__["lumaStats"].get('Resource Counts');
|
|
26890
26914
|
|
|
26891
26915
|
stats.get(`${name}s Active`).decrementCount();
|
|
26892
26916
|
}
|
|
26893
26917
|
|
|
26894
|
-
_trackAllocatedMemory(bytes, name = this.
|
|
26918
|
+
_trackAllocatedMemory(bytes, name = this[Symbol.toStringTag]) {
|
|
26895
26919
|
const stats = _init__WEBPACK_IMPORTED_MODULE_1__["lumaStats"].get('Memory Usage');
|
|
26896
26920
|
|
|
26897
26921
|
stats.get('GPU Memory').addCount(bytes);
|
|
@@ -26899,7 +26923,7 @@ class Resource {
|
|
|
26899
26923
|
this.byteLength = bytes;
|
|
26900
26924
|
}
|
|
26901
26925
|
|
|
26902
|
-
_trackDeallocatedMemory(name = this.
|
|
26926
|
+
_trackDeallocatedMemory(name = this[Symbol.toStringTag]) {
|
|
26903
26927
|
const stats = _init__WEBPACK_IMPORTED_MODULE_1__["lumaStats"].get('Memory Usage');
|
|
26904
26928
|
|
|
26905
26929
|
stats.get('GPU Memory').subtractCount(this.byteLength);
|
|
@@ -26940,6 +26964,11 @@ const ERR_SOURCE = 'Shader: GLSL source code must be a JavaScript string';
|
|
|
26940
26964
|
|
|
26941
26965
|
// For now this is an internal class
|
|
26942
26966
|
class Shader extends _resource__WEBPACK_IMPORTED_MODULE_5__["default"] {
|
|
26967
|
+
// eslint-disable-next-line accessor-pairs
|
|
26968
|
+
get [Symbol.toStringTag]() {
|
|
26969
|
+
return 'Shader';
|
|
26970
|
+
}
|
|
26971
|
+
|
|
26943
26972
|
static getTypeName(shaderType) {
|
|
26944
26973
|
switch (shaderType) {
|
|
26945
26974
|
case _luma_gl_constants__WEBPACK_IMPORTED_MODULE_0__["default"].VERTEX_SHADER:
|
|
@@ -27047,6 +27076,11 @@ class Shader extends _resource__WEBPACK_IMPORTED_MODULE_5__["default"] {
|
|
|
27047
27076
|
}
|
|
27048
27077
|
|
|
27049
27078
|
class VertexShader extends Shader {
|
|
27079
|
+
// eslint-disable-next-line accessor-pairs
|
|
27080
|
+
get [Symbol.toStringTag]() {
|
|
27081
|
+
return 'VertexShader';
|
|
27082
|
+
}
|
|
27083
|
+
|
|
27050
27084
|
constructor(gl, props) {
|
|
27051
27085
|
// Signature: new VertexShader(gl, source)
|
|
27052
27086
|
if (typeof props === 'string') {
|
|
@@ -27062,6 +27096,10 @@ class VertexShader extends Shader {
|
|
|
27062
27096
|
}
|
|
27063
27097
|
|
|
27064
27098
|
class FragmentShader extends Shader {
|
|
27099
|
+
// eslint-disable-next-line accessor-pairs
|
|
27100
|
+
get [Symbol.toStringTag]() {
|
|
27101
|
+
return 'FragmentShader';
|
|
27102
|
+
}
|
|
27065
27103
|
constructor(gl, props) {
|
|
27066
27104
|
// Signature: new FragmentShader(gl, source)
|
|
27067
27105
|
if (typeof props === 'string') {
|
|
@@ -27100,6 +27138,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27100
27138
|
|
|
27101
27139
|
|
|
27102
27140
|
class Texture2D extends _texture__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
27141
|
+
// eslint-disable-next-line accessor-pairs
|
|
27142
|
+
get [Symbol.toStringTag]() {
|
|
27143
|
+
return 'Texture2D';
|
|
27144
|
+
}
|
|
27145
|
+
|
|
27103
27146
|
static isSupported(gl, opts) {
|
|
27104
27147
|
return _texture__WEBPACK_IMPORTED_MODULE_2__["default"].isSupported(gl, opts);
|
|
27105
27148
|
}
|
|
@@ -27150,6 +27193,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27150
27193
|
|
|
27151
27194
|
|
|
27152
27195
|
class Texture3D extends _texture__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
27196
|
+
// eslint-disable-next-line accessor-pairs
|
|
27197
|
+
get [Symbol.toStringTag]() {
|
|
27198
|
+
return 'Texture3D';
|
|
27199
|
+
}
|
|
27200
|
+
|
|
27153
27201
|
static isSupported(gl) {
|
|
27154
27202
|
return Object(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_1__["isWebGL2"])(gl);
|
|
27155
27203
|
}
|
|
@@ -27267,6 +27315,11 @@ const FACES = [
|
|
|
27267
27315
|
];
|
|
27268
27316
|
|
|
27269
27317
|
class TextureCube extends _texture__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
27318
|
+
// eslint-disable-next-line accessor-pairs
|
|
27319
|
+
get [Symbol.toStringTag]() {
|
|
27320
|
+
return 'TextureCube';
|
|
27321
|
+
}
|
|
27322
|
+
|
|
27270
27323
|
constructor(gl, props = {}) {
|
|
27271
27324
|
Object(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_1__["assertWebGLContext"])(gl);
|
|
27272
27325
|
|
|
@@ -27618,6 +27671,10 @@ const NPOT_MIN_FILTERS = [_luma_gl_constants__WEBPACK_IMPORTED_MODULE_0__["defau
|
|
|
27618
27671
|
const WebGLBuffer = globalThis.WebGLBuffer || function WebGLBuffer() {};
|
|
27619
27672
|
|
|
27620
27673
|
class Texture extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
27674
|
+
// eslint-disable-next-line accessor-pairs
|
|
27675
|
+
get [Symbol.toStringTag]() {
|
|
27676
|
+
return 'Texture';
|
|
27677
|
+
}
|
|
27621
27678
|
static isSupported(gl, opts = {}) {
|
|
27622
27679
|
const {format, linearFiltering} = opts;
|
|
27623
27680
|
let supported = true;
|
|
@@ -27906,6 +27963,8 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
|
27906
27963
|
|
|
27907
27964
|
let gl2;
|
|
27908
27965
|
|
|
27966
|
+
let compressedTextureSize = 0;
|
|
27967
|
+
|
|
27909
27968
|
Object(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_1__["withParameters"])(this.gl, parameters, () => {
|
|
27910
27969
|
switch (dataType) {
|
|
27911
27970
|
case 'null':
|
|
@@ -27954,15 +28013,17 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
|
27954
28013
|
border,
|
|
27955
28014
|
levelData.data
|
|
27956
28015
|
);
|
|
28016
|
+
compressedTextureSize += levelData.levelSize;
|
|
27957
28017
|
}
|
|
27958
|
-
|
|
27959
28018
|
break;
|
|
27960
28019
|
default:
|
|
27961
28020
|
Object(_utils_assert__WEBPACK_IMPORTED_MODULE_5__["assert"])(false, 'Unknown image data type');
|
|
27962
28021
|
}
|
|
27963
28022
|
});
|
|
27964
28023
|
|
|
27965
|
-
if (
|
|
28024
|
+
if (dataType === 'compressed') {
|
|
28025
|
+
this._trackAllocatedMemory(compressedTextureSize, 'Texture');
|
|
28026
|
+
} else if (data && data.byteLength) {
|
|
27966
28027
|
this._trackAllocatedMemory(data.byteLength, 'Texture');
|
|
27967
28028
|
} else {
|
|
27968
28029
|
// NOTE(Tarek): Default to RGBA bytes
|
|
@@ -28422,6 +28483,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28422
28483
|
// See https://github.com/KhronosGroup/WebGL/issues/2346
|
|
28423
28484
|
|
|
28424
28485
|
class TransformFeedback extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
28486
|
+
// eslint-disable-next-line accessor-pairs
|
|
28487
|
+
get [Symbol.toStringTag]() {
|
|
28488
|
+
return 'TransformFeedback';
|
|
28489
|
+
}
|
|
28425
28490
|
static isSupported(gl) {
|
|
28426
28491
|
return Object(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_1__["isWebGL2"])(gl);
|
|
28427
28492
|
}
|
|
@@ -29122,6 +29187,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29122
29187
|
const ERR_ELEMENTS = 'elements must be GL.ELEMENT_ARRAY_BUFFER';
|
|
29123
29188
|
|
|
29124
29189
|
class VertexArrayObject extends _resource__WEBPACK_IMPORTED_MODULE_1__["default"] {
|
|
29190
|
+
// eslint-disable-next-line accessor-pairs
|
|
29191
|
+
get [Symbol.toStringTag]() {
|
|
29192
|
+
return 'VertexArrayObject';
|
|
29193
|
+
}
|
|
29125
29194
|
static isSupported(gl, options = {}) {
|
|
29126
29195
|
// Attribute 0 can not be disable on most desktop OpenGL based browsers
|
|
29127
29196
|
// and on iOS Safari browser.
|
|
@@ -31153,7 +31222,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31153
31222
|
// Version detection using babel plugin
|
|
31154
31223
|
/* global __VERSION__ */
|
|
31155
31224
|
// @ts-ignore
|
|
31156
|
-
const VERSION = true ? "8.5.
|
|
31225
|
+
const VERSION = true ? "8.5.11" : undefined;
|
|
31157
31226
|
|
|
31158
31227
|
const STARTUP_MESSAGE = 'set luma.log.level=1 (or higher) to trace rendering';
|
|
31159
31228
|
// Assign luma.log.level in console to control logging: \
|