You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
767 B
5 lines
767 B
// All material copyright Esri, All Rights Reserved, unless otherwise specified. |
|
// See https://js.arcgis.com/4.30/esri/copyright.txt for details. |
|
//>>built |
|
define(["exports","../../core/typedArrayUtil"],function(d,b){d.compactFloatArray=function(a){return b.isArray(a)?a.length<b.nativeArrayMaxSize?a:new Float32Array(a):a.length<b.nativeArrayMaxSize?Array.from(a):a};d.floatArrayFrom=function(a){return(b.isArray(a)?a.length:a.byteLength/8)<=b.nativeArrayMaxSize?Array.from(a):new Float32Array(a)};d.floatSubArray=function(a,c,e){return Array.isArray(a)?a.slice(c,c+e):a.subarray(c,c+e)};d.newFloatArray=function(a,c=!1){return a<=b.nativeArrayMaxSize?c?Array(a).fill(0): |
|
Array(a):new Float32Array(a)};Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})}); |