bmh_cesium/public/lib/cesiumjs/CesiumUnminified/Workers/GeometryOffsetAttribute-9c676324.js
2025-03-10 07:23:50 +08:00

2 lines
602 B
JavaScript

/* 2020-9-22 15:23:25 | 版权所有 军懋国兴 */
define(["exports","./when-cbf8cd21","./Check-35e1a91d"],function(e,c,l){"use strict";var t=Object.freeze({NONE:0,TOP:1,ALL:2});e.GeometryOffsetAttribute=t,e.arrayFill=function(e,t,f,n){if(l.Check.defined("array",e),l.Check.defined("value",t),c.defined(f)&&l.Check.typeOf.number("start",f),c.defined(n)&&l.Check.typeOf.number("end",n),"function"==typeof e.fill)return e.fill(t,f,n);for(var a=e.length>>>0,r=c.defaultValue(f,0),i=r<0?Math.max(a+r,0):Math.min(r,a),d=c.defaultValue(n,a),u=d<0?Math.max(a+d,0):Math.min(d,a);i<u;)e[i]=t,i++;return e}});