@antv/g-webgpu 2.0.34 → 2.0.36

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.34
5
- * @date 11/27/2024, 9:24:03 AM
4
+ * @version 2.0.36
5
+ * @date 11/27/2024, 2:19:26 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.34
5
- * @date 11/27/2024, 9:24:03 AM
4
+ * @version 2.0.36
5
+ * @date 11/27/2024, 2:19:26 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.34
5
- * @date 11/27/2024, 9:24:03 AM
4
+ * @version 2.0.36
5
+ * @date 11/27/2024, 2:19:26 PM
6
6
  * @author AntVis
7
7
  * @docs https://g.antv.antgroup.com/
8
8
  */
@@ -11,15 +11,15 @@
11
11
  * @antv/g-math
12
12
  * @description Geometry util
13
13
  * @version 3.0.0
14
- * @date 11/27/2024, 9:20:31 AM
14
+ * @date 11/27/2024, 2:15:58 PM
15
15
  * @author AntVis
16
16
  * @docs https://g.antv.antgroup.com/
17
17
  */function Qn(e,t,r,n){var i=e-r,a=t-n;return Math.sqrt(i*i+a*a)}function $n(e,t,r,n,i){return{x:(1-i)*e+i*r,y:(1-i)*t+i*n}}function Jn(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 ei(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+=Qn(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=Jn(e,r,i,o,u),c=Jn(t,n,a,s,u),f=$n(e,t,r,n,u),d=$n(r,n,i,a,u),h=$n(i,a,o,s,u),_=$n(f.x,f.y,d.x,d.y,u),p=$n(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 ei.apply(void 0,m(c))+ei.apply(void 0,m(f))}function ti(e,t,r,n){var i=1-n;return i*i*e+2*n*i*t+n*n*r}function ri(e,t,r,n,i,a,o){if(0===o)return(Qn(e,t,r,n)+Qn(r,n,i,a)+Qn(e,t,i,a))/2;var s=function(e,t,r,n,i,a,o){var s=ti(e,r,i,o),u=ti(t,n,a,o),l=$n(e,t,r,n,o),c=$n(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),ri.apply(void 0,m(u))+ri.apply(void 0,m(l))}
18
18
  /*!
19
19
  * @antv/g-plugin-device-renderer
20
20
  * @description A G plugin of renderer implementation with GPUDevice
21
- * @version 2.2.9
22
- * @date 11/27/2024, 9:23:03 AM
21
+ * @version 2.2.11
22
+ * @date 11/27/2024, 2:18:28 PM
23
23
  * @author AntVis
24
24
  * @docs https://g.antv.antgroup.com/
25
25
  */