@luma.gl/engine 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 +6 -6
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) {
|
|
@@ -20331,6 +20331,10 @@ const PROP_CHECKS_SET_PROPS = {
|
|
|
20331
20331
|
};
|
|
20332
20332
|
|
|
20333
20333
|
class Buffer extends _resource__WEBPACK_IMPORTED_MODULE_1__["default"] {
|
|
20334
|
+
// eslint-disable-next-line accessor-pairs
|
|
20335
|
+
get [Symbol.toStringTag]() {
|
|
20336
|
+
return 'Buffer';
|
|
20337
|
+
}
|
|
20334
20338
|
constructor(gl, props = {}) {
|
|
20335
20339
|
super(gl, props);
|
|
20336
20340
|
|
|
@@ -21253,6 +21257,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21253
21257
|
const ERR_MULTIPLE_RENDERTARGETS = 'Multiple render targets not supported';
|
|
21254
21258
|
|
|
21255
21259
|
class Framebuffer extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
21260
|
+
// eslint-disable-next-line accessor-pairs
|
|
21261
|
+
get [Symbol.toStringTag]() {
|
|
21262
|
+
return 'Framebuffer';
|
|
21263
|
+
}
|
|
21256
21264
|
static isSupported(gl, options = {}) {
|
|
21257
21265
|
const {
|
|
21258
21266
|
colorBufferFloat, // Whether floating point textures can be rendered and read
|
|
@@ -22148,6 +22156,10 @@ const V6_DEPRECATED_METHODS = [
|
|
|
22148
22156
|
];
|
|
22149
22157
|
|
|
22150
22158
|
class Program extends _resource__WEBPACK_IMPORTED_MODULE_1__["default"] {
|
|
22159
|
+
// eslint-disable-next-line accessor-pairs
|
|
22160
|
+
get [Symbol.toStringTag]() {
|
|
22161
|
+
return 'Program';
|
|
22162
|
+
}
|
|
22151
22163
|
constructor(gl, props = {}) {
|
|
22152
22164
|
super(gl, props);
|
|
22153
22165
|
|
|
@@ -22539,6 +22551,10 @@ const GL_ANY_SAMPLES_PASSED = 0x8c2f; // Occlusion query (if drawing passed dept
|
|
|
22539
22551
|
const GL_ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8d6a; // Occlusion query less accurate/faster version
|
|
22540
22552
|
|
|
22541
22553
|
class Query extends _resource__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
22554
|
+
// eslint-disable-next-line accessor-pairs
|
|
22555
|
+
get [Symbol.toStringTag]() {
|
|
22556
|
+
return 'Query';
|
|
22557
|
+
}
|
|
22542
22558
|
// Returns true if Query is supported by the WebGL implementation
|
|
22543
22559
|
// Can also check whether timestamp queries are available.
|
|
22544
22560
|
static isSupported(gl, opts = []) {
|
|
@@ -22804,6 +22820,10 @@ function isFormatSupported(gl, format, formats) {
|
|
|
22804
22820
|
}
|
|
22805
22821
|
|
|
22806
22822
|
class Renderbuffer extends _resource__WEBPACK_IMPORTED_MODULE_1__["default"] {
|
|
22823
|
+
// eslint-disable-next-line accessor-pairs
|
|
22824
|
+
get [Symbol.toStringTag]() {
|
|
22825
|
+
return 'Renderbuffer';
|
|
22826
|
+
}
|
|
22807
22827
|
static isSupported(gl, {format} = {format: null}) {
|
|
22808
22828
|
return !format || isFormatSupported(gl, format, _renderbuffer_formats__WEBPACK_IMPORTED_MODULE_2__["default"]);
|
|
22809
22829
|
}
|
|
@@ -22924,6 +22944,10 @@ const ERR_RESOURCE_METHOD_UNDEFINED = 'Resource subclass must define virtual met
|
|
|
22924
22944
|
// }
|
|
22925
22945
|
|
|
22926
22946
|
class Resource {
|
|
22947
|
+
// eslint-disable-next-line accessor-pairs
|
|
22948
|
+
get [Symbol.toStringTag]() {
|
|
22949
|
+
return 'Resource';
|
|
22950
|
+
}
|
|
22927
22951
|
constructor(gl, opts = {}) {
|
|
22928
22952
|
Object(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_0__["assertWebGLContext"])(gl);
|
|
22929
22953
|
|
|
@@ -22932,7 +22956,7 @@ class Resource {
|
|
|
22932
22956
|
// @ts-ignore
|
|
22933
22957
|
this.gl2 = gl;
|
|
22934
22958
|
// this.ext = polyfillContext(gl);
|
|
22935
|
-
this.id = id || Object(_utils_utils__WEBPACK_IMPORTED_MODULE_4__["uid"])(this.
|
|
22959
|
+
this.id = id || Object(_utils_utils__WEBPACK_IMPORTED_MODULE_4__["uid"])(this[Symbol.toStringTag]);
|
|
22936
22960
|
this.userData = userData;
|
|
22937
22961
|
this._bound = false;
|
|
22938
22962
|
|
|
@@ -22955,7 +22979,7 @@ class Resource {
|
|
|
22955
22979
|
}
|
|
22956
22980
|
|
|
22957
22981
|
toString() {
|
|
22958
|
-
return `${this.constructor.name}(${this.id})`;
|
|
22982
|
+
return `${this[Symbol.toStringTag] || this.constructor.name}(${this.id})`;
|
|
22959
22983
|
}
|
|
22960
22984
|
|
|
22961
22985
|
get handle() {
|
|
@@ -23186,7 +23210,7 @@ class Resource {
|
|
|
23186
23210
|
}
|
|
23187
23211
|
|
|
23188
23212
|
_addStats() {
|
|
23189
|
-
const name = this.
|
|
23213
|
+
const name = this[Symbol.toStringTag];
|
|
23190
23214
|
const stats = _init__WEBPACK_IMPORTED_MODULE_1__["lumaStats"].get('Resource Counts');
|
|
23191
23215
|
|
|
23192
23216
|
stats.get('Resources Created').incrementCount();
|
|
@@ -23195,13 +23219,13 @@ class Resource {
|
|
|
23195
23219
|
}
|
|
23196
23220
|
|
|
23197
23221
|
_removeStats() {
|
|
23198
|
-
const name = this.
|
|
23222
|
+
const name = this[Symbol.toStringTag];
|
|
23199
23223
|
const stats = _init__WEBPACK_IMPORTED_MODULE_1__["lumaStats"].get('Resource Counts');
|
|
23200
23224
|
|
|
23201
23225
|
stats.get(`${name}s Active`).decrementCount();
|
|
23202
23226
|
}
|
|
23203
23227
|
|
|
23204
|
-
_trackAllocatedMemory(bytes, name = this.
|
|
23228
|
+
_trackAllocatedMemory(bytes, name = this[Symbol.toStringTag]) {
|
|
23205
23229
|
const stats = _init__WEBPACK_IMPORTED_MODULE_1__["lumaStats"].get('Memory Usage');
|
|
23206
23230
|
|
|
23207
23231
|
stats.get('GPU Memory').addCount(bytes);
|
|
@@ -23209,7 +23233,7 @@ class Resource {
|
|
|
23209
23233
|
this.byteLength = bytes;
|
|
23210
23234
|
}
|
|
23211
23235
|
|
|
23212
|
-
_trackDeallocatedMemory(name = this.
|
|
23236
|
+
_trackDeallocatedMemory(name = this[Symbol.toStringTag]) {
|
|
23213
23237
|
const stats = _init__WEBPACK_IMPORTED_MODULE_1__["lumaStats"].get('Memory Usage');
|
|
23214
23238
|
|
|
23215
23239
|
stats.get('GPU Memory').subtractCount(this.byteLength);
|
|
@@ -23250,6 +23274,11 @@ const ERR_SOURCE = 'Shader: GLSL source code must be a JavaScript string';
|
|
|
23250
23274
|
|
|
23251
23275
|
// For now this is an internal class
|
|
23252
23276
|
class Shader extends _resource__WEBPACK_IMPORTED_MODULE_5__["default"] {
|
|
23277
|
+
// eslint-disable-next-line accessor-pairs
|
|
23278
|
+
get [Symbol.toStringTag]() {
|
|
23279
|
+
return 'Shader';
|
|
23280
|
+
}
|
|
23281
|
+
|
|
23253
23282
|
static getTypeName(shaderType) {
|
|
23254
23283
|
switch (shaderType) {
|
|
23255
23284
|
case _luma_gl_constants__WEBPACK_IMPORTED_MODULE_0__["default"].VERTEX_SHADER:
|
|
@@ -23357,6 +23386,11 @@ class Shader extends _resource__WEBPACK_IMPORTED_MODULE_5__["default"] {
|
|
|
23357
23386
|
}
|
|
23358
23387
|
|
|
23359
23388
|
class VertexShader extends Shader {
|
|
23389
|
+
// eslint-disable-next-line accessor-pairs
|
|
23390
|
+
get [Symbol.toStringTag]() {
|
|
23391
|
+
return 'VertexShader';
|
|
23392
|
+
}
|
|
23393
|
+
|
|
23360
23394
|
constructor(gl, props) {
|
|
23361
23395
|
// Signature: new VertexShader(gl, source)
|
|
23362
23396
|
if (typeof props === 'string') {
|
|
@@ -23372,6 +23406,10 @@ class VertexShader extends Shader {
|
|
|
23372
23406
|
}
|
|
23373
23407
|
|
|
23374
23408
|
class FragmentShader extends Shader {
|
|
23409
|
+
// eslint-disable-next-line accessor-pairs
|
|
23410
|
+
get [Symbol.toStringTag]() {
|
|
23411
|
+
return 'FragmentShader';
|
|
23412
|
+
}
|
|
23375
23413
|
constructor(gl, props) {
|
|
23376
23414
|
// Signature: new FragmentShader(gl, source)
|
|
23377
23415
|
if (typeof props === 'string') {
|
|
@@ -23410,6 +23448,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23410
23448
|
|
|
23411
23449
|
|
|
23412
23450
|
class Texture2D extends _texture__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
23451
|
+
// eslint-disable-next-line accessor-pairs
|
|
23452
|
+
get [Symbol.toStringTag]() {
|
|
23453
|
+
return 'Texture2D';
|
|
23454
|
+
}
|
|
23455
|
+
|
|
23413
23456
|
static isSupported(gl, opts) {
|
|
23414
23457
|
return _texture__WEBPACK_IMPORTED_MODULE_2__["default"].isSupported(gl, opts);
|
|
23415
23458
|
}
|
|
@@ -23460,6 +23503,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23460
23503
|
|
|
23461
23504
|
|
|
23462
23505
|
class Texture3D extends _texture__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
23506
|
+
// eslint-disable-next-line accessor-pairs
|
|
23507
|
+
get [Symbol.toStringTag]() {
|
|
23508
|
+
return 'Texture3D';
|
|
23509
|
+
}
|
|
23510
|
+
|
|
23463
23511
|
static isSupported(gl) {
|
|
23464
23512
|
return Object(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_1__["isWebGL2"])(gl);
|
|
23465
23513
|
}
|
|
@@ -23577,6 +23625,11 @@ const FACES = [
|
|
|
23577
23625
|
];
|
|
23578
23626
|
|
|
23579
23627
|
class TextureCube extends _texture__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
23628
|
+
// eslint-disable-next-line accessor-pairs
|
|
23629
|
+
get [Symbol.toStringTag]() {
|
|
23630
|
+
return 'TextureCube';
|
|
23631
|
+
}
|
|
23632
|
+
|
|
23580
23633
|
constructor(gl, props = {}) {
|
|
23581
23634
|
Object(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_1__["assertWebGLContext"])(gl);
|
|
23582
23635
|
|
|
@@ -23928,6 +23981,10 @@ const NPOT_MIN_FILTERS = [_luma_gl_constants__WEBPACK_IMPORTED_MODULE_0__["defau
|
|
|
23928
23981
|
const WebGLBuffer = globalThis.WebGLBuffer || function WebGLBuffer() {};
|
|
23929
23982
|
|
|
23930
23983
|
class Texture extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
23984
|
+
// eslint-disable-next-line accessor-pairs
|
|
23985
|
+
get [Symbol.toStringTag]() {
|
|
23986
|
+
return 'Texture';
|
|
23987
|
+
}
|
|
23931
23988
|
static isSupported(gl, opts = {}) {
|
|
23932
23989
|
const {format, linearFiltering} = opts;
|
|
23933
23990
|
let supported = true;
|
|
@@ -24216,6 +24273,8 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
|
24216
24273
|
|
|
24217
24274
|
let gl2;
|
|
24218
24275
|
|
|
24276
|
+
let compressedTextureSize = 0;
|
|
24277
|
+
|
|
24219
24278
|
Object(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_1__["withParameters"])(this.gl, parameters, () => {
|
|
24220
24279
|
switch (dataType) {
|
|
24221
24280
|
case 'null':
|
|
@@ -24264,15 +24323,17 @@ class Texture extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
|
24264
24323
|
border,
|
|
24265
24324
|
levelData.data
|
|
24266
24325
|
);
|
|
24326
|
+
compressedTextureSize += levelData.levelSize;
|
|
24267
24327
|
}
|
|
24268
|
-
|
|
24269
24328
|
break;
|
|
24270
24329
|
default:
|
|
24271
24330
|
Object(_utils_assert__WEBPACK_IMPORTED_MODULE_5__["assert"])(false, 'Unknown image data type');
|
|
24272
24331
|
}
|
|
24273
24332
|
});
|
|
24274
24333
|
|
|
24275
|
-
if (
|
|
24334
|
+
if (dataType === 'compressed') {
|
|
24335
|
+
this._trackAllocatedMemory(compressedTextureSize, 'Texture');
|
|
24336
|
+
} else if (data && data.byteLength) {
|
|
24276
24337
|
this._trackAllocatedMemory(data.byteLength, 'Texture');
|
|
24277
24338
|
} else {
|
|
24278
24339
|
// NOTE(Tarek): Default to RGBA bytes
|
|
@@ -24732,6 +24793,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24732
24793
|
// See https://github.com/KhronosGroup/WebGL/issues/2346
|
|
24733
24794
|
|
|
24734
24795
|
class TransformFeedback extends _resource__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
|
24796
|
+
// eslint-disable-next-line accessor-pairs
|
|
24797
|
+
get [Symbol.toStringTag]() {
|
|
24798
|
+
return 'TransformFeedback';
|
|
24799
|
+
}
|
|
24735
24800
|
static isSupported(gl) {
|
|
24736
24801
|
return Object(_luma_gl_gltools__WEBPACK_IMPORTED_MODULE_1__["isWebGL2"])(gl);
|
|
24737
24802
|
}
|
|
@@ -25432,6 +25497,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25432
25497
|
const ERR_ELEMENTS = 'elements must be GL.ELEMENT_ARRAY_BUFFER';
|
|
25433
25498
|
|
|
25434
25499
|
class VertexArrayObject extends _resource__WEBPACK_IMPORTED_MODULE_1__["default"] {
|
|
25500
|
+
// eslint-disable-next-line accessor-pairs
|
|
25501
|
+
get [Symbol.toStringTag]() {
|
|
25502
|
+
return 'VertexArrayObject';
|
|
25503
|
+
}
|
|
25435
25504
|
static isSupported(gl, options = {}) {
|
|
25436
25505
|
// Attribute 0 can not be disable on most desktop OpenGL based browsers
|
|
25437
25506
|
// and on iOS Safari browser.
|
|
@@ -27463,7 +27532,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27463
27532
|
// Version detection using babel plugin
|
|
27464
27533
|
/* global __VERSION__ */
|
|
27465
27534
|
// @ts-ignore
|
|
27466
|
-
const VERSION = true ? "8.5.
|
|
27535
|
+
const VERSION = true ? "8.5.11" : undefined;
|
|
27467
27536
|
|
|
27468
27537
|
const STARTUP_MESSAGE = 'set luma.log.level=1 (or higher) to trace rendering';
|
|
27469
27538
|
// Assign luma.log.level in console to control logging: \
|