sdrangel/plugins/feature/map/Cesium/Workers/GeometryOffsetAttribute-4f9...

2 lines
425 B
JavaScript

define(["exports","./RuntimeError-608565a6","./when-229515d6"],(function(t,e,n){"use strict";var r=Object.freeze({NONE:0,TOP:1,ALL:2});t.GeometryOffsetAttribute=r,t.arrayFill=function(t,e,r,a){if("function"==typeof t.fill)return t.fill(e,r,a);const f=t.length>>>0,i=n.defaultValue(r,0);let l=i<0?Math.max(f+i,0):Math.min(i,f);const u=n.defaultValue(a,f),o=u<0?Math.max(f+u,0):Math.min(u,f);for(;l<o;)t[l]=e,l++;return t}}));