qd-changjing/public/static/Build/Cesium/Workers/GeometryOffsetAttribute-821...

2 lines
425 B
JavaScript
Raw Normal View History

2022-07-05 16:56:29 +08:00
define(["exports","./RuntimeError-5b082e8f","./when-4bbc8319"],(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,f){if("function"==typeof t.fill)return t.fill(e,r,f);const a=t.length>>>0,i=n.defaultValue(r,0);let l=i<0?Math.max(a+i,0):Math.min(i,a);const u=n.defaultValue(f,a),o=u<0?Math.max(a+u,0):Math.min(u,a);for(;l<o;)t[l]=e,l++;return t}}));