@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 647 B
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
*/
function e(){const e=new Float32Array(4);return e[0]=1,e[3]=1,e}function r(e){const r=new Float32Array(4);return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r}function t(e,r,t,n){const o=new Float32Array(4);return o[0]=e,o[1]=r,o[2]=t,o[3]=n,o}function n(e,r){return new Float32Array(e,r,4)}const o=Object.freeze(Object.defineProperty({__proto__:null,clone:r,create:e,createView:n,fromValues:t},Symbol.toStringTag,{value:"Module"}));export{r as clone,e as create,n as createView,t as fromValues,o as m};