1 line
664 KiB
Vue
1 line
664 KiB
Vue
|
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("echarts")):"function"==typeof define&&define.amd?define(["echarts"],t):"object"==typeof exports?exports["echarts-gl"]=t(require("echarts")):e["echarts-gl"]=t(e.echarts)}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=99)}([function(t,r){t.exports=e},function(e,t,r){(function(e){!function(r){"use strict";var n={};n.exports=t,function(t){var r="undefined"==typeof window?e:window,n=r.GLMAT_EPSILON;null==n&&(n=1e-6);var i=r.GLMAT_ARRAY_TYPE||Array,a=r.GLMAT_RANDOM;a||(a=Math.random);var o={};o.setMatrixArrayType=function(e){i=e},void 0!==t&&(t.glMatrix=o);var s=Math.PI/180;o.toRadian=function(e){return e*s};var u={};u.create=function(){var e=new i(2);return e[0]=0,e[1]=0,e},u.clone=function(e){var t=new i(2);return t[0]=e[0],t[1]=e[1],t},u.fromValues=function(e,t){var r=new i(2);return r[0]=e,r[1]=t,r},u.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e},u.set=function(e,t,r){return e[0]=t,e[1]=r,e},u.add=function(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e},u.subtract=function(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e},u.sub=u.subtract,u.multiply=function(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e},u.mul=u.multiply,u.divide=function(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e},u.div=u.divide,u.min=function(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e},u.max=function(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e},u.scale=function(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e},u.scaleAndAdd=function(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e},u.distance=function(e,t){var r=t[0]-e[0],n=t[1]-e[1];return Math.sqrt(r*r+n*n)},u.dist=u.distance,u.squaredDistance=function(e,t){var r=t[0]-e[0],n=t[1]-e[1];return r*r+n*n},u.sqrDist=u.squaredDistance,u.length=function(e){var t=e[0],r=e[1];return Math.sqrt(t*t+r*r)},u.len=u.length,u.squaredLength=function(e){var t=e[0],r=e[1];return t*t+r*r},u.sqrLen=u.squaredLength,u.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e},u.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e},u.normalize=function(e,t){var r=t[0],n=t[1],i=r*r+n*n;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i),e},u.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]},u.cross=function(e,t,r){var n=t[0]*r[1]-t[1]*r[0];return e[0]=e[1]=0,e[2]=n,e},u.lerp=function(e,t,r,n){var i=t[0],a=t[1];return e[0]=i+n*(r[0]-i),e[1]=a+n*(r[1]-a),e},u.random=function(e,t){t=t||1;var r=2*a()*Math.PI;return e[0]=Math.cos(r)*t,e[1]=Math.sin(r)*t,e},u.transformMat2=function(e,t,r){var n=t[0],i=t[1];return e[0]=r[0]*n+r[2]*i,e[1]=r[1]*n+r[3]*i,e},u.transformMat2d=function(e,t,r){var n=t[0],i=t[1];return e[0]=r[0]*n+r[2]*i+r[4],e[1]=r[1]*n+r[3]*i+r[5],e},u.transformMat3=function(e,t,r){var n=t[0],i=t[1];return e[0]=r[0]*n+r[3]*i+r[6],e[1]=r[1]*n+r[4]*i+r[7],e},u.transformMat4=function(e,t,r){var n=t[0],i=t[1];return e[0]=r[0]*n+r[4]*i+r[12],e[1]=r[1]*n+r[5]*i+r[13],e},u.forEach=function(){var e=u.create();return function(t,r,n,i,a,o){var s,u;for(r||(r=2),n||(n=0),u=i?Math.min(i*r+n,t.length):t.length,s=n;s<u;s+=r)e[0]=t[s],e[1]=t[s+1],a(e,e,o),t[s]=e[0],t[s+1]=e[1];return t}}(),u.str=function(e){return"vec2("+e[0]+", "+e[1]+")"},void 0!==t&&(t.vec2=u);var l={};l.create=function(){var e=new i(3);return e[0]=0,e[1]=0,e[2]=0,e},l.clone=function(e){var t=new i(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},l.fromValues=function(e,t,r){var n=new i(3);return n[0]=e,n[1]=t,n[2]=r,n},l.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},l.set=function(e,t,r,n){return e[0]=t,e[1]=r,e[2]=n,e},l.add=function(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e},l.subtrac
|