@antv/g-webgpu 2.0.51 → 2.0.53-beta.0

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.0.51
5
- * @date 7/18/2025, 7:16:15 AM
4
+ * @version 2.0.53-beta.0
5
+ * @date 12/12/2025, 2:50:38 PM
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.0.51
5
- * @date 7/18/2025, 7:16:15 AM
4
+ * @version 2.0.53-beta.0
5
+ * @date 12/12/2025, 2:50:38 PM
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.0.51
5
- * @date 7/18/2025, 7:16:15 AM
4
+ * @version 2.0.53-beta.0
5
+ * @date 12/12/2025, 2:50:38 PM
6
6
  * @author AntVis
7
7
  * @docs https://g.antv.antgroup.com/
8
8
  */
@@ -12,16 +12,16 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toS
12
12
  /*!
13
13
  * @antv/g-math
14
14
  * @description Geometry util
15
- * @version 3.0.1
16
- * @date 7/18/2025, 7:12:35 AM
15
+ * @version 3.0.2-beta.0
16
+ * @date 12/12/2025, 2:48:57 PM
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),h=ui(i,a,o,s,u),_=ui(f.x,f.y,d.x,d.y,u),p=ui(d.x,d.y,h.x,h.y,u);return[[e,t,f.x,f.y,_.x,_.y,l,c],[l,c,p.x,p.y,h.x,h.y,o,s]]}(e,t,r,n,i,a,o,s,.5),c=[].concat(m(l[0]),[u-1]),f=[].concat(m(l[1]),[u-1]);return ci.apply(void 0,m(c))+ci.apply(void 0,m(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,m(u))+di.apply(void 0,m(l))}
20
20
  /*!
21
21
  * @antv/g-plugin-device-renderer
22
22
  * @description A G plugin of renderer implementation with GPUDevice
23
- * @version 2.3.2
24
- * @date 7/18/2025, 7:15:13 AM
23
+ * @version 2.3.4-beta.0
24
+ * @date 12/12/2025, 2:50:11 PM
25
25
  * @author AntVis
26
26
  * @docs https://g.antv.antgroup.com/
27
27
  */