@antv/l7-renderer 2.10.1 → 2.10.3
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/es/regl/ReglAttribute.js +2 -2
- package/es/regl/ReglBuffer.js +2 -2
- package/es/regl/ReglElements.js +2 -2
- package/es/regl/ReglFramebuffer.js +2 -2
- package/es/regl/ReglModel.js +8 -6
- package/es/regl/ReglRenderbuffer.js +2 -2
- package/es/regl/ReglTexture2D.js +3 -3
- package/es/regl/constants.js +1 -1
- package/es/regl/index.js +4 -4
- package/lib/regl/ReglModel.js +3 -1
- package/package.json +5 -5
package/es/regl/ReglAttribute.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @see https://github.com/regl-project/regl/blob/gh-pages/API.md#attributes
|
package/es/regl/ReglBuffer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
3
|
import { gl } from '@antv/l7-core';
|
|
4
4
|
import { dataTypeMap, usageMap } from "./constants";
|
|
5
5
|
/**
|
package/es/regl/ReglElements.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
3
|
import { gl } from '@antv/l7-core';
|
|
4
4
|
import { dataTypeMap, usageMap } from "./constants";
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* adaptor for regl.Framebuffer
|
package/es/regl/ReglModel.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
|
-
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
|
|
3
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
5
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
1
|
+
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
4
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
5
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
6
6
|
import { gl } from '@antv/l7-core';
|
|
7
7
|
import { cloneDeep, isPlainObject, isTypedArray } from 'lodash';
|
|
8
8
|
import { blendEquationMap, blendFuncMap, cullFaceMap, depthFuncMap, primitiveMap, stencilFuncMap, stencilOpMap } from "./constants";
|
|
@@ -163,7 +163,9 @@ var ReglModel = /*#__PURE__*/function () {
|
|
|
163
163
|
if (!pick) {
|
|
164
164
|
this.drawCommand(reglDrawProps);
|
|
165
165
|
} else {
|
|
166
|
-
|
|
166
|
+
if (this.drawPickCommand) {
|
|
167
|
+
this.drawPickCommand(reglDrawProps);
|
|
168
|
+
}
|
|
167
169
|
} // this.drawCommand(reglDrawProps);
|
|
168
170
|
// this.drawPickCommand(reglDrawProps);
|
|
169
171
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
3
|
import { formatMap } from "./constants";
|
|
4
4
|
/**
|
|
5
5
|
* adaptor for regl.Renderbuffer
|
package/es/regl/ReglTexture2D.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
4
|
import { gl } from '@antv/l7-core';
|
|
5
5
|
import { colorSpaceMap, dataTypeMap, filterMap, formatMap, mipmapMap, wrapModeMap } from "./constants";
|
|
6
6
|
/**
|
package/es/regl/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
|
|
3
3
|
var _primitiveMap, _usageMap, _dataTypeMap, _formatMap, _mipmapMap, _filterMap, _wrapModeMap, _colorSpaceMap, _depthFuncMap, _blendEquationMap, _blendFuncMap, _stencilFuncMap, _stencilOpMap, _cullFaceMap;
|
|
4
4
|
|
package/es/regl/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
1
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
5
5
|
|
|
6
6
|
var _dec, _class;
|
|
7
7
|
|
package/lib/regl/ReglModel.js
CHANGED
|
@@ -147,7 +147,9 @@ var ReglModel = class {
|
|
|
147
147
|
if (!pick) {
|
|
148
148
|
this.drawCommand(reglDrawProps);
|
|
149
149
|
} else {
|
|
150
|
-
|
|
150
|
+
if (this.drawPickCommand) {
|
|
151
|
+
this.drawPickCommand(reglDrawProps);
|
|
152
|
+
}
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
destroy() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-renderer",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
"author": "xiaoiver",
|
|
26
26
|
"license": "ISC",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@antv/l7-test-utils": "2.10.
|
|
28
|
+
"@antv/l7-test-utils": "2.10.3",
|
|
29
29
|
"gl": "^5.0.3"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@antv/l7-core": "2.10.
|
|
33
|
-
"@antv/l7-utils": "2.10.
|
|
32
|
+
"@antv/l7-core": "2.10.3",
|
|
33
|
+
"@antv/l7-utils": "2.10.3",
|
|
34
34
|
"@babel/runtime": "^7.7.7",
|
|
35
35
|
"inversify": "^5.0.1",
|
|
36
36
|
"l7regl": "^0.0.20",
|
|
37
37
|
"lodash": "^4.17.15",
|
|
38
38
|
"reflect-metadata": "^0.1.13"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "306900eeb5c60dbbee4331a44e42e101b711ba0d",
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
}
|