@antv/g-webgpu 2.1.2 → 2.1.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/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * @antv/g-webgpu
3
3
  * @description A renderer implemented by WebGPU
4
- * @version 2.1.2
5
- * @date 10/10/2026, 9:47:56 AM
4
+ * @version 2.1.3
5
+ * @date 10/16/2026, 2:37:15 AM
6
6
  * @author AntVis
7
7
  * @docs https://g.antv.antgroup.com/
8
8
  */
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * @antv/g-webgpu
3
3
  * @description A renderer implemented by WebGPU
4
- * @version 2.1.2
5
- * @date 10/10/2026, 9:47:56 AM
4
+ * @version 2.1.3
5
+ * @date 10/16/2026, 2:37:15 AM
6
6
  * @author AntVis
7
7
  * @docs https://g.antv.antgroup.com/
8
8
  */
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * @antv/g-webgpu
3
3
  * @description A renderer implemented by WebGPU
4
- * @version 2.1.2
5
- * @date 10/10/2026, 9:47:56 AM
4
+ * @version 2.1.3
5
+ * @date 10/16/2026, 2:37:15 AM
6
6
  * @author AntVis
7
7
  * @docs https://g.antv.antgroup.com/
8
8
  */
@@ -13,15 +13,15 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toS
13
13
  * @antv/g-math
14
14
  * @description Geometry util
15
15
  * @version 3.1.0
16
- * @date 10/10/2026, 9:45:31 AM
16
+ * @date 10/16/2026, 2:34:18 AM
17
17
  * @author AntVis
18
18
  * @docs https://g.antv.antgroup.com/
19
19
  */function si(e,t,r,n){var i=e-r,a=t-n;return Math.sqrt(i*i+a*a)}function ui(e,t,r,n,i){return{x:(1-i)*e+i*r,y:(1-i)*t+i*n}}function li(e,t,r,n,i){var a=1-i;return a*a*a*e+3*t*i*a*a+3*r*i*i*a+n*i*i*i}function ci(e,t,r,n,i,a,o,s,u){if(0===u)return function(e,t){for(var r=0,n=e.length,i=0;n>i;i++)r+=si(e[i],t[i],e[(i+1)%n],t[(i+1)%n]);return r/2}([e,r,i,o],[t,n,a,s]);var l=function(e,t,r,n,i,a,o,s,u){var l=li(e,r,i,o,u),c=li(t,n,a,s,u),f=ui(e,t,r,n,u),d=ui(r,n,i,a,u),_=ui(i,a,o,s,u),h=ui(f.x,f.y,d.x,d.y,u),p=ui(d.x,d.y,_.x,_.y,u);return[[e,t,f.x,f.y,h.x,h.y,l,c],[l,c,p.x,p.y,_.x,_.y,o,s]]}(e,t,r,n,i,a,o,s,.5),c=[].concat(T(l[0]),[u-1]),f=[].concat(T(l[1]),[u-1]);return ci.apply(void 0,T(c))+ci.apply(void 0,T(f))}function fi(e,t,r,n){var i=1-n;return i*i*e+2*n*i*t+n*n*r}function di(e,t,r,n,i,a,o){if(0===o)return(si(e,t,r,n)+si(r,n,i,a)+si(e,t,i,a))/2;var s=function(e,t,r,n,i,a,o){var s=fi(e,r,i,o),u=fi(t,n,a,o),l=ui(e,t,r,n,o),c=ui(r,n,i,a,o);return[[e,t,l.x,l.y,s,u],[s,u,c.x,c.y,i,a]]}(e,t,r,n,i,a,.5),u=s[0],l=s[1];return u.push(o-1),l.push(o-1),di.apply(void 0,T(u))+di.apply(void 0,T(l))}
20
20
  /*!
21
21
  * @antv/g-plugin-device-renderer
22
22
  * @description A G plugin of renderer implementation with GPUDevice
23
- * @version 2.6.2
24
- * @date 10/10/2026, 9:46:28 AM
23
+ * @version 2.6.3
24
+ * @date 10/16/2026, 2:35:28 AM
25
25
  * @author AntVis
26
26
  * @docs https://g.antv.antgroup.com/
27
27
  */