qa-regulatory-gwj-vue/static/map/cesium91/CesiumUnminified/Workers/GeometryOffsetAttribute-ed5...

2 lines
426 B
JavaScript
Raw Normal View History

2023-11-07 10:04:37 +08:00
define(["exports","./Check-741c5f3c","./defaultValue-81eec7ed"],(function(e,t,f){"use strict";var a=Object.freeze({NONE:0,TOP:1,ALL:2});e.GeometryOffsetAttribute=a,e.arrayFill=function(e,t,a,l){if("function"==typeof e.fill)return e.fill(t,a,l);const n=e.length>>>0,r=f.defaultValue(a,0);let u=r<0?Math.max(n+r,0):Math.min(r,n);const i=f.defaultValue(l,n),c=i<0?Math.max(n+i,0):Math.min(i,n);for(;u<c;)e[u]=t,u++;return e}}));