1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-05 08:21:16 -05:00
sdrangel/plugins/feature/map/Cesium/Workers/GeometryOffsetAttribute-4f901209.js
2022-02-04 20:41:22 +00:00

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}}));